From 411be2776b30ea8b717d1697e539789f74baafd6 Mon Sep 17 00:00:00 2001 From: tobspr Date: Sat, 1 May 2021 20:10:39 +0200 Subject: [PATCH] Fixes --- src/css/ingame_hud/beta_overlay.scss | 2 +- src/js/game/modes/puzzle_play.js | 3 +-- translations/base-en.yaml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/css/ingame_hud/beta_overlay.scss b/src/css/ingame_hud/beta_overlay.scss index caadd127..08eba960 100644 --- a/src/css/ingame_hud/beta_overlay.scss +++ b/src/css/ingame_hud/beta_overlay.scss @@ -1,6 +1,6 @@ #ingame_HUD_BetaOverlay { position: fixed; - @include S(top, 10px); + @include S(top, 70px); left: 50%; transform: translateX(-50%); color: $colorRedBright; diff --git a/src/js/game/modes/puzzle_play.js b/src/js/game/modes/puzzle_play.js index fb4fcc29..8d386192 100644 --- a/src/js/game/modes/puzzle_play.js +++ b/src/js/game/modes/puzzle_play.js @@ -78,10 +78,9 @@ export class PuzzlePlayGameMode extends PuzzleGameMode { logger.log("Loading puzzle", this.puzzle); try { - errorText = new PuzzleSerializer().deserializePuzzle(this.root, this.puzzle.game); - this.zoneWidth = this.puzzle.game.bounds.w; this.zoneHeight = this.puzzle.game.bounds.h; + errorText = new PuzzleSerializer().deserializePuzzle(this.root, this.puzzle.game); } catch (ex) { errorText = ex.message || ex; } diff --git a/translations/base-en.yaml b/translations/base-en.yaml index 69d002eb..16c257ef 100644 --- a/translations/base-en.yaml +++ b/translations/base-en.yaml @@ -315,7 +315,7 @@ dialogs: offlineMode: title: Offline Mode desc: >- - We couldn't reach the backend servers, so the game has to run in offline mode. Please make sure you have an active internect connection. + We couldn't reach the servers, so the game has to run in offline mode. Please make sure you have an active internect connection. puzzleDownloadError: title: Download Error