Get rid of demo messages

This commit is contained in:
tobspr 2020-05-21 17:54:55 +02:00
parent e1ae61e0f5
commit e91e1416f4
3 changed files with 13 additions and 13 deletions

View File

@ -118,12 +118,12 @@ export class HUDGameMenu extends BaseHUDPart {
}
startSave() {
if (IS_DEMO) {
this.root.hud.parts.dialogs.showFeatureRestrictionInfo(
null,
T.dialogs.saveNotPossibleInDemo.desc
);
}
// if (IS_DEMO) {
// this.root.hud.parts.dialogs.showFeatureRestrictionInfo(
// null,
// T.dialogs.saveNotPossibleInDemo.desc
// );
// }
this.root.gameState.doSave();
}

View File

@ -272,10 +272,10 @@ export class MainMenuState extends GameState {
resumeGame(game) {
this.app.analytics.trackUiClick("resume_game");
if (IS_DEMO) {
this.dialogs.showFeatureRestrictionInfo(T.demo.features.restoringGames);
return;
}
// if (IS_DEMO) {
// this.dialogs.showFeatureRestrictionInfo(T.demo.features.restoringGames);
// return;
// }
const savegame = this.app.savegameMgr.getSavegameById(game.internalId);
savegame.readAsync().then(() => {

View File

@ -61,7 +61,7 @@ demoBanners:
intro: >-
If you enjoy this game, please consider to buy the full version!
advantages:
- Save & restore your games
- No advertisements
- Dark mode
- >-
Allow me to further develop shapez.io ❤️
@ -146,8 +146,8 @@ dialogs:
desc: There is an update for this game available!
demoExplanation:
title: You can not save
desc: This is a demo, and you will not be able to restore your saved games. To save and resume your games, get the standalone on itch.io (You can import them).<br><br>I know this sucks, but otherwise I can not continue the development of this game!
title: Notice from the Developer
desc: I am developing this game in my free time, and I hope you enjoy it! If you do, please consider to buy the standalone version!
ingame:
# This is shown in the top left corner and displays useful keybindings in