Fix missing init-only modifier.
This commit is contained in:
committed by
Gustas
parent
1692f32ffc
commit
43d1a20d8c
@@ -32,7 +32,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public readonly string Notification = "BaseAttack";
|
||||
|
||||
[Desc("Text notification to display.")]
|
||||
public string TextNotification = null;
|
||||
public readonly string TextNotification = null;
|
||||
|
||||
[NotificationReference("Speech")]
|
||||
[Desc("Speech notification to play to allies when under attack.",
|
||||
@@ -40,7 +40,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public readonly string AllyNotification = null;
|
||||
|
||||
[Desc("Text notification to display to allies when under attack.")]
|
||||
public string AllyTextNotification = null;
|
||||
public readonly string AllyTextNotification = null;
|
||||
|
||||
public override object Create(ActorInitializer init) { return new BaseAttackNotifier(init.Self, this); }
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public readonly string Notification = "HarvesterAttack";
|
||||
|
||||
[Desc("Text notification to display.")]
|
||||
public string TextNotification = null;
|
||||
public readonly string TextNotification = null;
|
||||
|
||||
public override object Create(ActorInitializer init) { return new HarvesterAttackNotifier(init.Self, this); }
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public readonly string Notification = null;
|
||||
|
||||
[Desc("Text notification to display.")]
|
||||
public string TextNotification = null;
|
||||
public readonly string TextNotification = null;
|
||||
|
||||
[Desc("Whether to show the cash tick indicators rising from the actor.")]
|
||||
public readonly bool ShowTicks = true;
|
||||
|
||||
Reference in New Issue
Block a user