Fix production of dummy actors from producers without Exit trait.
This commit is contained in:
committed by
reaperrr
parent
ffbee7e45b
commit
1573da03bb
@@ -126,7 +126,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
if (exit != null || self.OccupiesSpace == null)
|
||||
{
|
||||
DoProduction(self, producee, exit.Info, productionType, inits);
|
||||
DoProduction(self, producee, exit == null ? null : exit.Info, productionType, inits);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user