From 4f7b5ff21ccabb7d109716dd0b73525a23be9e79 Mon Sep 17 00:00:00 2001 From: YueR Date: Thu, 12 Sep 2019 18:40:14 +0800 Subject: [PATCH] update --- core/src/com/unciv/ui/utils/Fonts.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/com/unciv/ui/utils/Fonts.kt b/core/src/com/unciv/ui/utils/Fonts.kt index 36b477bfa2..804723229f 100644 --- a/core/src/com/unciv/ui/utils/Fonts.kt +++ b/core/src/com/unciv/ui/utils/Fonts.kt @@ -88,10 +88,10 @@ class Fonts { Gdx.files.local("fonts/$fontForLanguage.ttf").delete() UnCivGame.Current.settings.fontSet="NativeFont(Recommended)" Gdx.app.postRunnable { - val downloading = PopupTable(UnCivGame.Current.worldScreen) - downloading.add("Checksum error!\nIf you want to use the font \"WenQuanYiMicroHei\", please download again.".toLabel().setFontColor(Color.RED)).row() - downloading.addButton("Close".tr()) { downloading.remove() }.row() - downloading.open() + val checksumFailed = PopupTable(UnCivGame.Current.worldScreen) + checksumFailed.add("Checksum error!\nIf you want to use the font \"WenQuanYiMicroHei\", please download again.".toLabel().setFontColor(Color.RED)).row() + checksumFailed.addButton("Close".tr()) { checksumFailed.remove() }.row() + checksumFailed.open() } } else {