Skip to content

Commit

Permalink
fix(client/apartmentselect): conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
mafewtm committed Oct 5, 2024
1 parent 5876631 commit 2da64b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/apartmentselect.lua
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ local function inputConfirm(apartmentIndex)
DoScreenFadeOut(500)
while not IsScreenFadedOut() do Wait(0) end
FreezeEntityPosition(cache.ped, false)
SetEntityCoords(cache.ped, ApartmentOptions[apartmentIndex].enter.x, ApartmentOptions[apartmentIndex].enter.y, ApartmentOptions[apartmentIndex].enter.z - 2.0, false, false, false, false)
SetEntityCoords(cache.ped, sharedConfig.apartmentOptions[apartmentIndex].enter.x, sharedConfig.apartmentOptions[apartmentIndex].enter.y, sharedConfig.apartmentOptions[apartmentIndex].enter.z - 2.0, false, false, false, false)
Wait(0)
TriggerServerEvent('qbx_properties:server:apartmentSelect', apartmentIndex)
Wait(1000) -- Wait for player to spawn correctly so clothing menu can load in nice
Expand Down

0 comments on commit 2da64b9

Please sign in to comment.