From e582c3bb9709342830e3111953b0bb445416cab6 Mon Sep 17 00:00:00 2001 From: the-real-herowl Date: Sun, 14 Apr 2024 08:34:41 +0200 Subject: [PATCH] Improved look on the mobile device Now the food doesn't cover the full screen on mobile devices... ...at the cost of stretching at ultrawide or portrait aspect ratios. --- mods/PLAYER/mcl_hunger/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/PLAYER/mcl_hunger/init.lua b/mods/PLAYER/mcl_hunger/init.lua index 1482dafe0..0925e375e 100644 --- a/mods/PLAYER/mcl_hunger/init.lua +++ b/mods/PLAYER/mcl_hunger/init.lua @@ -133,7 +133,7 @@ local function init_hud(player) hud_elem_type = "image", text = "blank.png", position = {x = 0.5, y = 1}, - scale = {x = 30, y = 30}, + scale = {x = -25, y = -45}, alignment = {x = 0, y = -1}, offset = {x = 0, y = -30}, z_index = -200,