From a6d1ac0b86d8382fec3af1c355054a5fa57c58ad Mon Sep 17 00:00:00 2001 From: Patrick 'Quezler' Mounier Date: Thu, 19 Nov 2020 21:08:07 +0100 Subject: [PATCH] Use icon font in favor of def --- core/src/mindustry/core/NetClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/mindustry/core/NetClient.java b/core/src/mindustry/core/NetClient.java index b6b2a6deb9..841e7e42a7 100644 --- a/core/src/mindustry/core/NetClient.java +++ b/core/src/mindustry/core/NetClient.java @@ -343,9 +343,9 @@ public class NetClient implements ApplicationListener{ @Remote(variants = Variant.both) public static void warningToast(int unicode, String text){ - if(text == null || Fonts.def.getData().getGlyph((char)unicode) == null) return; + if(text == null || Fonts.icon.getData().getGlyph((char)unicode) == null) return; - ui.hudfrag.showToast(Fonts.getGlyph(Fonts.def, (char)unicode), text); + ui.hudfrag.showToast(Fonts.getGlyph(Fonts.icon, (char)unicode), text); } @Remote(variants = Variant.both)