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.
This commit is contained in:
parent
2927816199
commit
69afb7239a
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ local function ContentsPaint(self)
|
||||||
colHealth.r = (1 - healthperc) * 180
|
colHealth.r = (1 - healthperc) * 180
|
||||||
colHealth.g = 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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue