From 3c968103abca31b3bbe9a9d59b4ee2be7b741c79 Mon Sep 17 00:00:00 2001 From: Ameer Alntsheh <68712253+Abu-Maher@users.noreply.github.com> Date: Sat, 24 Sep 2022 21:55:07 +0300 Subject: [PATCH] Apps clicking bug. Hi, I saw that there is a problem with the GUI of the phone when I open it, I can only click on apps when I press the 'Home' button but when I found 'guiMoveToBack' I removed it and things are back to normal. --- mods/deathmatch/resources/phone/phone_core_c.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/deathmatch/resources/phone/phone_core_c.lua b/mods/deathmatch/resources/phone/phone_core_c.lua index fbbfd08b..9b74b54d 100644 --- a/mods/deathmatch/resources/phone/phone_core_c.lua +++ b/mods/deathmatch/resources/phone/phone_core_c.lua @@ -23,7 +23,7 @@ function drawPhoneGUI() wPhoneMenu = guiCreateStaticImage(posX, posY,w,h,"images/iphone_front.png",false) phoneBackground = guiCreateStaticImage(0.085, 0.15, 0.83, 0.71, "images/backgrounds/Mountains.png", true, wPhoneMenu) - guiMoveToBack( phoneBackground ) + --guiMoveToBack( phoneBackground ) don't use it, because it is will be set the phone apps doesn't click. guiSetEnabled( phoneBackground, false ) local btnW, btnH = 105, 30