From 6ed90e8a06a083483a577c12a096ef8b77c39b8c Mon Sep 17 00:00:00 2001 From: Ilias Rbayti <63159154+Kenshiin13@users.noreply.github.com> Date: Wed, 20 Nov 2024 20:10:15 +0100 Subject: [PATCH] fix(esx_skin/client/modules/menu): set initial camera offsets properly --- [core]/esx_skin/client/modules/menu.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/[core]/esx_skin/client/modules/menu.lua b/[core]/esx_skin/client/modules/menu.lua index e7ddcf1b4..3767d9b1f 100644 --- a/[core]/esx_skin/client/modules/menu.lua +++ b/[core]/esx_skin/client/modules/menu.lua @@ -122,8 +122,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()