mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-26 12:06:22 +00:00
force the eject when renaming a garrisoned entity, fixes #4532
This was SVN commit r19452.
This commit is contained in:
@@ -634,7 +634,7 @@ GarrisonHolder.prototype.OnGlobalEntityRenamed = function(msg)
|
||||
vgpRenamed = vgp;
|
||||
break;
|
||||
}
|
||||
this.Eject(msg.entity);
|
||||
this.Eject(msg.entity, true);
|
||||
this.Garrison(msg.newentity, vgpRenamed);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user