Fix typo in foundation code.
Introduced in 2bda444435
.
Refs. #6709
Differential revision: https://code.wildfiregames.com/D4909
Comments by: @Stan
This was SVN commit r27508.
This commit is contained in:
parent
34765a4664
commit
f0bde861f6
@ -345,8 +345,7 @@ Foundation.prototype.Build = function(builderEnt, work)
|
||||
if (cmpBuildingIdentity.GetPhenotype() !== oldPhenotype)
|
||||
{
|
||||
cmpBuildingIdentity.SetPhenotype(oldPhenotype);
|
||||
if (cmpVisualCorpse)
|
||||
cmpVisualCorpse.RecomputeActorName();
|
||||
Engine.QueryInterface(building, IID_Visual)?.RecomputeActorName();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user