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";
|
public readonly string Notification = "BaseAttack";
|
||||||
|
|
||||||
[Desc("Text notification to display.")]
|
[Desc("Text notification to display.")]
|
||||||
public string TextNotification = null;
|
public readonly string TextNotification = null;
|
||||||
|
|
||||||
[NotificationReference("Speech")]
|
[NotificationReference("Speech")]
|
||||||
[Desc("Speech notification to play to allies when under attack.",
|
[Desc("Speech notification to play to allies when under attack.",
|
||||||
@@ -40,7 +40,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
public readonly string AllyNotification = null;
|
public readonly string AllyNotification = null;
|
||||||
|
|
||||||
[Desc("Text notification to display to allies when under attack.")]
|
[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); }
|
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";
|
public readonly string Notification = "HarvesterAttack";
|
||||||
|
|
||||||
[Desc("Text notification to display.")]
|
[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); }
|
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;
|
public readonly string Notification = null;
|
||||||
|
|
||||||
[Desc("Text notification to display.")]
|
[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.")]
|
[Desc("Whether to show the cash tick indicators rising from the actor.")]
|
||||||
public readonly bool ShowTicks = true;
|
public readonly bool ShowTicks = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user