Fix update dialog being always shown
This commit is contained in:
parent
9033c9eb67
commit
8b9ce418f3
|
@ -3,7 +3,7 @@ export const CHANGELOG = [
|
|||
version: "1.0.3",
|
||||
date: "24.05.2020",
|
||||
entries: [
|
||||
"<strong>Balancing</strong> Reduced the amount of shapes required for the first 5 levels, to make it easier to get into the game.",
|
||||
"<strong>Balancing</strong> Reduced the amount of shapes required for the first 5 levels to make it easier to get into the game.",
|
||||
],
|
||||
},
|
||||
{
|
||||
|
|
|
@ -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