Fix font changing in notifications not working
Addresses https://github.com/JetBoom/zombiesurvival/issues/177
This commit is contained in:
parent
69afb7239a
commit
f6e92a3ef7
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ function PANEL:SetNotification(...)
|
||||||
defaultfont = nil
|
defaultfont = nil
|
||||||
else
|
else
|
||||||
local th = draw.GetFontHeight(v.font)
|
local th = draw.GetFontHeight(v.font)
|
||||||
if tw then
|
if th then
|
||||||
defaultfont = v.font
|
defaultfont = v.font
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue