Skip to content

Commit

Permalink
fix Shavit_GetZoneID :^)
Browse files Browse the repository at this point in the history
  • Loading branch information
rtldg committed Jan 4, 2022
1 parent 3a87717 commit 9c4f626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/shavit-zones.sp
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ public any Native_GetZoneType(Handle plugin, int numParams)
public any Native_GetZoneID(Handle plugin, int numParams)
{
int entity = GetNativeCell(1);
return gI_EntityZone[entity] > -1;
return gI_EntityZone[entity];
}

bool JumpToZoneType(KeyValues kv, int type, int track)
Expand Down

0 comments on commit 9c4f626

Please sign in to comment.