fix(es_extended/server/main): PlayerConnecting Failing

https://github.com/esx-framework/esx_core/issues/1442
This commit is contained in:
Kasey FItton
2024-11-09 08:54:55 +00:00
parent ca26d36140
commit ed8922d52f
+1 -1
View File
@@ -97,9 +97,9 @@ end
if not Config.Multichar then
AddEventHandler("playerConnecting", function(_, _, deferrals)
local playerId = source
deferrals.defer()
Wait(0) -- Required
local playerId = source
local identifier = ESX.GetIdentifier(playerId)