Skip to content

Commit

Permalink
fix: load locales normally
Browse files Browse the repository at this point in the history
  • Loading branch information
BerkieBb committed Jan 28, 2024
1 parent 51c349b commit 57a7775
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ EmsNotified = false
CanLeaveBed = true
OnPainKillers = false

lib.locale()

---Notifies EMS of a injury at a location
---@param coords vector3
---@param text string
Expand Down
2 changes: 0 additions & 2 deletions fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ description 'qbx_ambulancejob'
repository 'https://github.com/Qbox-project/qbx_ambulancejob'
version '1.0.0'

ox_lib 'locale'

shared_scripts {
'@ox_lib/init.lua',
'@qbx_core/modules/utils.lua',
Expand Down
3 changes: 3 additions & 0 deletions server/main.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
local sharedConfig = require 'config.shared'

lib.locale()

---@alias source number

lib.callback.register('qbx_ambulancejob:server:getPlayerStatus', function(_, targetSrc)
Expand Down

0 comments on commit 57a7775

Please sign in to comment.