mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-19 23:03:56 -07:00
force the eject when renaming a garrisoned entity, fixes #4532
This was SVN commit r19452.
This commit is contained in:
parent
03d4606416
commit
e3daa35075
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue