mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
fix(client/zones): debug erroneously triggers zone:inside
Should only trigger when the player is, in fact, inside the zone.
This commit is contained in:
@@ -266,7 +266,7 @@ CreateThread(function()
|
||||
|
||||
|
||||
if zone.debug then
|
||||
if zone.inside then zone:inside() end
|
||||
if zone.insideZone then zone:inside() end
|
||||
|
||||
zone:debug()
|
||||
elseif zone.insideZone then
|
||||
|
||||
Reference in New Issue
Block a user