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:
@@ -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>`
|
||||
: ""
|
||||
}
|
||||
|
||||
|
||||
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user