Skip to content

Commit 91e5070

Browse files
authored
Update client.lua
1 parent f1776bb commit 91e5070

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

game/framework/client.lua

+1-4
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ LocalPlayer.state.IsLoaded = false
101101

102102

103103
if frameworkName == "LEGACYCORE" then
104+
RegisterNetEvent('LegacyCore:PlayerLoaded')
104105
AddEventHandler('LegacyCore:PlayerLoaded', function(...)
105106
TriggerEvent("LGF_Utility:PlayerLoaded", ...)
106107
LocalPlayer.state.IsLoaded = true
@@ -143,10 +144,6 @@ function LGF.Core:PlayerLoaded()
143144
return LocalPlayer.state.IsLoaded
144145
end
145146

146-
RegisterNetEvent("LGF_Utility:PlayerLoaded", function(...)
147-
local argss = { ... }
148-
end)
149-
150147
return {
151148
IsLoaded = LGF.Core.PlayerLoaded,
152149
GetPlayer = LGF.Core.GetPlayer,

0 commit comments

Comments
 (0)