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

Add type hints to signals

This commit is contained in:
tobspr
2020-05-14 08:44:07 +02:00
parent ca3f4ff02a
commit cf5d776270
9 changed files with 53 additions and 52 deletions

View File

@@ -92,7 +92,7 @@ export class InGameState extends GameState {
getThemeMusic() {
// set later
return MUSIC.gameBg;
return MUSIC.mainMenu;
}
onBeforeExit() {
@@ -115,7 +115,7 @@ export class InGameState extends GameState {
}
getPauseOnFocusLost() {
return !this.isMultiplayer();
return false;
}
getHasUnloadConfirmation() {
@@ -407,7 +407,6 @@ export class InGameState extends GameState {
return;
if (!this.savegame || !this.savegame.isSaveable()) {
// Can not save in multiplayer
return Promise.resolve();
}