Skip to content

Commit

Permalink
Fix: ox_core not loading properly on client
Browse files Browse the repository at this point in the history
  • Loading branch information
FjamZoo authored Jan 7, 2025
1 parent d51924c commit 454592e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/ox/client.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
local Controller = require 'framework.client'
local Ox = require '@ox_core/lib/init.lua'
local Ox = require '@ox_core.lib.init'


RegisterNetEvent('ox:setGroup', function(name, grade)
Expand All @@ -22,4 +22,4 @@ AddEventHandler('ox:playerLoaded', function()
})
end)

AddEventHandler('ox:playerLogout', Controller.removePlayer())
AddEventHandler('ox:playerLogout', Controller.removePlayer())

0 comments on commit 454592e

Please sign in to comment.