Skip to content

Commit

Permalink
fix(qb-core): Fix qbcore not syncing weather
Browse files Browse the repository at this point in the history
  • Loading branch information
FjamZoo committed Nov 21, 2023
1 parent 7423a4f commit 28958fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compatability/qb/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ end)

RegisterNetEvent('qb-weathersync:client:EnableSync', function()
playerState.syncWeather = true
end)

RegisterNetEvent('QBCore:Client:OnPlayerLoaded', function()
playerState.syncWeather = true
end)

0 comments on commit 28958fd

Please sign in to comment.