Updated to current unstable version and fixed Healthpanel again

This commit is contained in:
ZioPao
2025-03-31 01:46:49 +02:00
parent 499db8cd78
commit f77a357dab
3 changed files with 4 additions and 4 deletions

View File

@@ -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",

View File

@@ -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

View File

@@ -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