1
0
forked from 0ad/0ad

force the eject when renaming a garrisoned entity, fixes #4532

This was SVN commit r19452.
This commit is contained in:
mimo 2017-04-24 20:38:39 +00:00
parent 03d4606416
commit e3daa35075

View File

@ -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);
}