Fix gamerule display issues (#28178)
* A comprehensive rule list for joining admins and mid round command to get rule list added * Fix up for when a rule is added vs started and some logging * fix command help localization, fix admin flags and spam anouncement. * Send admin message only to the joining player not all admins. * Bit better formatting in chat box
This commit is contained in:
@@ -46,7 +46,6 @@ public sealed class SecretRuleSystem : GameRuleSystem<SecretRuleComponent>
|
||||
|
||||
Log.Info($"Selected {preset.ID} as the secret preset.");
|
||||
_adminLogger.Add(LogType.EventStarted, $"Selected {preset.ID} as the secret preset.");
|
||||
_chatManager.SendAdminAnnouncement(Loc.GetString("rule-secret-selected-preset", ("preset", preset.ID)));
|
||||
|
||||
foreach (var rule in preset.Rules)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user