Fix when saving with unit in early stages of death
This commit is contained in:
parent
6d4ada8c41
commit
b4317e4fb1
1 changed files with 1 additions and 0 deletions
|
@ -965,6 +965,7 @@ local int CclUnit(lua_State* l)
|
|||
if (unit->UnitSlot && (unit->Destroyed || unit->Orders->Action == UnitActionDie)) {
|
||||
UnitCacheRemove(unit);
|
||||
UnitCacheInsert(unit);
|
||||
UnitCountSeen(unit);
|
||||
}
|
||||
|
||||
// Units Dieing may have sight
|
||||
|
|
Loading…
Add table
Reference in a new issue