update client if fail to get md5

This commit is contained in:
ryannathans 2022-04-26 22:05:30 +10:00
parent 99c798daad
commit 4818225bc6

View file

@ -104,7 +104,7 @@ object MainWindow : JFrame("2009scape Launcher") {
Thread.sleep(50L) Thread.sleep(50L)
} }
Settings.HAS_UPDATED = true Settings.HAS_UPDATED = true
if (Updater.remoteMD5 != "-1" && Updater.remoteMD5 != Updater.localMD5) { if (Updater.remoteMD5 != Updater.localMD5) {
println("Update required, running update...") println("Update required, running update...")
loadingLabel.text = oldText loadingLabel.text = oldText
Updater.runUpdate() Updater.runUpdate()