From f6e92a3ef73e2e10c51bf7e6c2d2e40548905f29 Mon Sep 17 00:00:00 2001 From: William Moodhe Date: Wed, 10 Aug 2016 08:26:45 -0400 Subject: [PATCH] Fix font changing in notifications not working Addresses https://github.com/JetBoom/zombiesurvival/issues/177 --- gamemodes/zombiesurvival/gamemode/vgui/dexnotificationslist.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemodes/zombiesurvival/gamemode/vgui/dexnotificationslist.lua b/gamemodes/zombiesurvival/gamemode/vgui/dexnotificationslist.lua index 117f5de..c7ab64f 100644 --- a/gamemodes/zombiesurvival/gamemode/vgui/dexnotificationslist.lua +++ b/gamemodes/zombiesurvival/gamemode/vgui/dexnotificationslist.lua @@ -84,7 +84,7 @@ function PANEL:SetNotification(...) defaultfont = nil else local th = draw.GetFontHeight(v.font) - if tw then + if th then defaultfont = v.font end end