From f77a357dabd746065c8d41f3b27a6932033f4959 Mon Sep 17 00:00:00 2001 From: ZioPao Date: Mon, 31 Mar 2025 01:46:49 +0200 Subject: [PATCH] Updated to current unstable version and fixed Healthpanel again --- .vscode/settings.json | 4 ++-- 42/media/lua/client/TOC/UI/HealthPanel.lua | 2 +- 42/mod.info | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 87aed1a..71207c1 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,8 +2,8 @@ "todo-tree.tree.scanMode": "workspace", "mod_id": "3236152598", "zomboid_user_folder": "C:/Users/picch/Zomboid", - "zomboid_folder": "E:\\Steam\\steamapps\\common\\ProjectZomboid", - "zomboid_server_folder": "E:\\Steam\\steamapps\\common\\Project Zomboid Dedicated Server", + "zomboid_folder": "E:\\SteamLibrary\\steamapps\\common\\ProjectZomboid", + "zomboid_server_folder": "E:\\SteamLibrary\\steamapps\\common\\Project Zomboid Dedicated Server", "Lua.diagnostics.globals": [ "ModOptions", "zombie", diff --git a/42/media/lua/client/TOC/UI/HealthPanel.lua b/42/media/lua/client/TOC/UI/HealthPanel.lua index 15d4cae..69f387f 100644 --- a/42/media/lua/client/TOC/UI/HealthPanel.lua +++ b/42/media/lua/client/TOC/UI/HealthPanel.lua @@ -103,7 +103,7 @@ function ISHealthPanel:tryDrawAmputation(highestAmputations, side, username) end -- B42, for some reason the positioning of the texture changed. Realigned it manually with those fixed values - self:drawTexture(texture, self.healthPanel.x - 7, self.healthPanel.y - 13, 1, redColor, 0, 0) + self:drawTexture(texture, self.healthPanel.x - 5, self.healthPanel.y - 9, 1, redColor, 0, 0) end function ISHealthPanel:tryDrawProsthesis(highestAmputations, side, username) local dc = DataController.GetInstance(username) -- TODO CACHE PROSTHESIS!!! Don't use DC here diff --git a/42/mod.info b/42/mod.info index 42db350..6772812 100644 --- a/42/mod.info +++ b/42/mod.info @@ -5,4 +5,4 @@ id=TheOnlyCure icon=icon.png url=https://github.com/ZioPao/The-Only-Cure modversion=2.1.5 -pzversion=42.0.2 +pzversion=42.6