Actor properties consistency improved
This commit is contained in:
@@ -372,7 +372,7 @@ namespace OpenRA.Mods.RA
|
||||
protected virtual bool BuildUnit(string name)
|
||||
{
|
||||
// Cannot produce if i'm dead
|
||||
if (!self.IsInWorld || self.IsDead())
|
||||
if (!self.IsInWorld || self.IsDead)
|
||||
{
|
||||
CancelProduction(name, 1);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user