Skip to content

Commit

Permalink
Merge pull request #1493 from Kenshiin13/fix-esx-skin
Browse files Browse the repository at this point in the history
fix(esx_skin/client/modules/menu): set initial camera offsets properly
  • Loading branch information
Kenshiin13 authored Nov 20, 2024
2 parents c63e1fd + 6ed90e8 commit 10a125a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions [core]/esx_skin/client/modules/menu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ function Menu:Open(submit, cancel, restrict)

self:InsertElements()

self.zoomOffset = self.components[1].zoomOffset
self.camOffset = self.components[1].camOffset
Skin.zoomOffset = self.components[1].zoomOffset
Skin.camOffset = self.components[1].camOffset
Camera:Create()

self:ESXMenu()
Expand Down

0 comments on commit 10a125a

Please sign in to comment.