From bc7aa9a491deeedbea027e76680aab786eab9af4 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Thu, 17 May 2012 10:04:06 +1200 Subject: [PATCH] make Health.MaxHP not readonly; some people want to frob it at runtime --- OpenRA.Game/Traits/Health.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Game/Traits/Health.cs b/OpenRA.Game/Traits/Health.cs index 432157094c..3016aece4b 100755 --- a/OpenRA.Game/Traits/Health.cs +++ b/OpenRA.Game/Traits/Health.cs @@ -41,7 +41,7 @@ namespace OpenRA.Traits } public int HP { get { return hp; } } - public readonly int MaxHP; + public int MaxHP; public bool IsDead { get { return hp <= 0; } } public bool RemoveOnDeath = true;