Patch up missing removal points
This commit is contained in:
parent
6351a004f9
commit
dd718e7d78
1 changed files with 2 additions and 0 deletions
|
@ -518,6 +518,7 @@ void ZoneServer::DeleteData(bool boot_clients){
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
RemoveSpawnSupportFunctions(spawn, true);
|
RemoveSpawnSupportFunctions(spawn, true);
|
||||||
|
RemoveSpawnFromGrid(spawn, GetLocation());
|
||||||
AddPendingDelete(spawn);
|
AddPendingDelete(spawn);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -809,6 +810,7 @@ void ZoneServer::ProcessDepop(bool respawns_allowed, bool repop) {
|
||||||
tmp_player_list.Add(spawn);
|
tmp_player_list.Add(spawn);
|
||||||
else {
|
else {
|
||||||
RemoveSpawnSupportFunctions(spawn, true);
|
RemoveSpawnSupportFunctions(spawn, true);
|
||||||
|
RemoveSpawnFromGrid(spawn, GetLocation());
|
||||||
AddPendingDelete(spawn);
|
AddPendingDelete(spawn);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue