Mark non-moddable translation strings as constant.
This commit is contained in:
committed by
Gustas
parent
4f016f149f
commit
760a1245c5
@@ -20,14 +20,14 @@ namespace OpenRA.Mods.Common.Commands
|
||||
|
||||
public class PlayerCommands : IChatCommand, IWorldLoaded
|
||||
{
|
||||
[TranslationReference]
|
||||
const string PauseDescription = "pause-description";
|
||||
|
||||
[TranslationReference]
|
||||
const string SurrenderDescription = "surrender-description";
|
||||
|
||||
World world;
|
||||
|
||||
[TranslationReference]
|
||||
static readonly string PauseDescription = "pause-description";
|
||||
|
||||
[TranslationReference]
|
||||
static readonly string SurrenderDescription = "surrender-description";
|
||||
|
||||
public void WorldLoaded(World w, WorldRenderer wr)
|
||||
{
|
||||
world = w;
|
||||
|
||||
Reference in New Issue
Block a user