mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 02:38:53 +00:00
Fixed possible error
This commit is contained in:
+3
-1
@@ -10,7 +10,9 @@ end)
|
||||
|
||||
RegisterNetEvent('esx_sit:leavePlace')
|
||||
AddEventHandler('esx_sit:leavePlace', function(objectCoords)
|
||||
seatsTaken[objectCoords] = nil
|
||||
if seatsTaken[objectCoords] then
|
||||
seatsTaken[objectCoords] = nil
|
||||
end
|
||||
end)
|
||||
|
||||
ESX.RegisterServerCallback('esx_sit:getPlace', function(source, cb, objectCoords)
|
||||
|
||||
Reference in New Issue
Block a user