something something zones not loading

This commit is contained in:
rtldg 2021-04-04 08:34:43 +00:00
parent 7ce9878a50
commit eb9c09be65

View File

@ -839,9 +839,7 @@ public void OnEntityDestroyed(int entity)
{ {
if (entity > MaxClients && entity < 4096 && gI_EntityZone[entity] > -1) if (entity > MaxClients && entity < 4096 && gI_EntityZone[entity] > -1)
{ {
int zone = gI_EntityZone[entity]; KillZoneEntity(gI_EntityZone[entity]);
KillZoneEntity(zone);
ClearZone(zone);
} }
} }
@ -3165,7 +3163,6 @@ public void Round_Start(Event event, const char[] name, bool dontBroadcast)
} }
} }
gI_MapZones = 0;
RequestFrame(CreateZoneEntities); RequestFrame(CreateZoneEntities);
} }