Skip to content

Commit

Permalink
fix(server/main): don't use old id in playerJoining
Browse files Browse the repository at this point in the history
  • Loading branch information
D4isDAVID committed Sep 2, 2024
1 parent 00ce731 commit 7aed9b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ RegisterNetEvent('qbx_storerobbery:server:safeCracked', function()
end)
end)

AddEventHandler('playerJoining', function(source)
AddEventHandler('playerJoining', function()
TriggerClientEvent('qbx_storerobbery:client:updatedRobbables', source, sharedConfig.registers, sharedConfig.safes)
end)

Expand Down

0 comments on commit 7aed9b6

Please sign in to comment.