Remove link to itch.io on update message
This commit is contained in:
parent
9afc28bb7e
commit
85f748566f
|
@ -82,18 +82,14 @@ export class PreloadState extends GameState {
|
|||
.then(res => res.json())
|
||||
.then(({ latest }) => {
|
||||
if (latest !== G_BUILD_VERSION) {
|
||||
const { ok, viewUpdate } = this.dialogs.showInfo(
|
||||
const { ok } = this.dialogs.showInfo(
|
||||
T.dialogs.newUpdate.title,
|
||||
T.dialogs.newUpdate.desc,
|
||||
["ok:good", "viewUpdate:good"]
|
||||
["ok:good"]
|
||||
);
|
||||
|
||||
return new Promise(resolve => {
|
||||
ok.add(resolve);
|
||||
viewUpdate.add(() => {
|
||||
window.open("https://tobspr.itch.io/shapezio", "_blank");
|
||||
resolve();
|
||||
});
|
||||
});
|
||||
}
|
||||
})
|
||||
|
|
|
@ -157,7 +157,7 @@ dialogs:
|
|||
|
||||
newUpdate:
|
||||
title: Update available
|
||||
desc: There is an update for this game available!
|
||||
desc: There is an update for this game available, be sure to download it!
|
||||
|
||||
oneSavegameLimit:
|
||||
title: Limited savegames
|
||||
|
|
Reference in New Issue