1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Fix update dialog being always shown

This commit is contained in:
tobspr
2020-05-24 17:53:13 +02:00
parent 9033c9eb67
commit 8b9ce418f3
3 changed files with 4 additions and 3 deletions

View File

@@ -97,7 +97,7 @@ export class MainMenuState extends GameState {
G_IS_BROWSER &&
this.app.platformWrapper instanceof PlatformWrapperImplBrowser &&
this.app.platformWrapper.embedProvider.iogLink
? `<a class="iogLink" target="_blank" href="https://iogames.space">More .io games</a>`
? `<a class="iogLink" target="_blank" href="https://iogames.space">.io games</a>`
: ""
}

View File

@@ -186,7 +186,8 @@ export class PreloadState extends GameState {
return G_BUILD_VERSION;
})
.then(version => {
this.app.storage.writeFileAsync("lastversion.bin", version);
logger.log("Last version:", version, "App version:", G_BUILD_VERSION);
this.app.storage.writeFileAsync("lastversion.bin", G_BUILD_VERSION);
return version;
})
.then(version => {