diff --git a/42/media/lua/client/TOC/UI/HealthPanel.lua b/42/media/lua/client/TOC/UI/HealthPanel.lua index 4c519de..15d4cae 100644 --- a/42/media/lua/client/TOC/UI/HealthPanel.lua +++ b/42/media/lua/client/TOC/UI/HealthPanel.lua @@ -102,7 +102,8 @@ function ISHealthPanel:tryDrawAmputation(highestAmputations, side, username) texture = StaticData.HEALTH_PANEL_TEXTURES[sexPl][limbName] end - self:drawTexture(texture, self.healthPanel.x, self.healthPanel.y, 1, redColor, 0, 0) + -- 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) end function ISHealthPanel:tryDrawProsthesis(highestAmputations, side, username) local dc = DataController.GetInstance(username) -- TODO CACHE PROSTHESIS!!! Don't use DC here diff --git a/42/media/lua/shared/TOC/Debug.lua b/42/media/lua/shared/TOC/Debug.lua index 9b0deba..d559da9 100644 --- a/42/media/lua/shared/TOC/Debug.lua +++ b/42/media/lua/shared/TOC/Debug.lua @@ -7,7 +7,7 @@ function TOC_DEBUG.TogglePaneMod() end function TOC_DEBUG.ToggleHealthPanelDebug() - TOC_DEBUG.enableHealthPanelDebug = not TOC_DEBUG.enableHealthPanelDebug + TOC_DEBUG.enableHealthPanelDebug = not TOC_DEBUG.enableHealthPanelDebug end ---Print debug