This commit is contained in:
YueR 2019-09-12 18:40:14 +08:00
parent 6c6182246d
commit 4f7b5ff21c

View File

@ -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 {