From 69afb7239a1e201189fcb6c4e525bb384e17ded6 Mon Sep 17 00:00:00 2001 From: William Moodhe / JetBoom Date: Fri, 26 Feb 2016 22:44:15 -0500 Subject: [PATCH] Fix health display TEXT_ALIGN_TOP / TEXT_ALIGN_BOTTOM behavior was reversed. A gmod update finally, silently, fixed them. note, I fixed all cases of this in the upcoming update but this is here as a temp fix since it's a big deal. --- gamemodes/zombiesurvival/gamemode/vgui/zshealtharea.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemodes/zombiesurvival/gamemode/vgui/zshealtharea.lua b/gamemodes/zombiesurvival/gamemode/vgui/zshealtharea.lua index 24a9e14..8c885df 100644 --- a/gamemodes/zombiesurvival/gamemode/vgui/zshealtharea.lua +++ b/gamemodes/zombiesurvival/gamemode/vgui/zshealtharea.lua @@ -10,7 +10,7 @@ local function ContentsPaint(self) colHealth.r = (1 - healthperc) * 180 colHealth.g = healthperc * 180 - draw.SimpleTextBlurry(health, "ZSHUDFont", 8, self:GetTall() - 8, colHealth, TEXT_ALIGN_LEFT, TEXT_ALIGN_TOP) + draw.SimpleTextBlurry(health, "ZSHUDFont", 8, self:GetTall() - 8, colHealth, TEXT_ALIGN_LEFT, TEXT_ALIGN_BOTTOM) end end