mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 15:36:02 +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.debug then
|
||||||
if zone.inside then zone:inside() end
|
if zone.insideZone then zone:inside() end
|
||||||
|
|
||||||
zone:debug()
|
zone:debug()
|
||||||
elseif zone.insideZone then
|
elseif zone.insideZone then
|
||||||
|
|||||||
Reference in New Issue
Block a user