Localize developer debug cheats.
This commit is contained in:
committed by
abcdefg30
parent
44aaf4dd07
commit
8f415bc7af
@@ -32,7 +32,9 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public class CellTriggerOverlay : IRenderAnnotations, IWorldLoaded, IChatCommand
|
||||
{
|
||||
const string CommandName = "triggers";
|
||||
const string CommandDesc = "toggles the script triggers overlay.";
|
||||
|
||||
[TranslationReference]
|
||||
const string CommandDescription = "cell-trigger-overlay-description";
|
||||
|
||||
bool enabled;
|
||||
|
||||
@@ -54,7 +56,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
return;
|
||||
|
||||
console.RegisterCommand(CommandName, this);
|
||||
help.RegisterHelp(CommandName, CommandDesc);
|
||||
help.RegisterHelp(CommandName, CommandDescription);
|
||||
}
|
||||
|
||||
void IChatCommand.InvokeCommand(string name, string arg)
|
||||
|
||||
Reference in New Issue
Block a user