From 7dc4add1fc719438b7dfd3ab3ab31721737ca524 Mon Sep 17 00:00:00 2001 From: Alex Warren Date: Thu, 23 Jul 2026 12:43:20 +0100 Subject: [PATCH] fix(Engine): remove "Hide the Save button" game option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since it was added in 2017 it has hidden the entire #controlButtons div (Debug + Save + panes-toggle hamburger), not just Save — the hamburger button is the only way to show/hide sidebar panes on narrow layouts, and Save is now the entry point to the multi-slot save/load dialog, so enabling this option breaks more than it advertises. Co-Authored-By: Claude Sonnet 5 --- src/Engine/Core/Core.aslx | 3 --- src/Engine/Core/CoreEditorGame.aslx | 8 -------- src/Engine/Core/CoreTypes.aslx | 1 - src/Engine/Core/Languages/EditorDeutsch.aslx | 1 - src/Engine/Core/Languages/EditorEnglish.aslx | 1 - 5 files changed, 14 deletions(-) diff --git a/src/Engine/Core/Core.aslx b/src/Engine/Core/Core.aslx index fd11ffdb6..1276713f5 100644 --- a/src/Engine/Core/Core.aslx +++ b/src/Engine/Core/Core.aslx @@ -143,9 +143,6 @@ if (HasString(game, "marginscolour")) { JS.setCss ("body", "background-color:" + game.marginscolour) } - if (game.turnoffsavebutton) { - JS.setCss ("#controlButtons", "display:none") - } if (game.turnoffcompass) { JS.setCss ("#compassLabel", "display:none;") JS.setCss ("#compassAccordion", "display:none;") diff --git a/src/Engine/Core/CoreEditorGame.aslx b/src/Engine/Core/CoreEditorGame.aslx index a917d0857..6f6071bc8 100644 --- a/src/Engine/Core/CoreEditorGame.aslx +++ b/src/Engine/Core/CoreEditorGame.aslx @@ -625,14 +625,6 @@ game.showlocation and not game.classiclocation - - checkbox - [EditorGameHideSaveButton] - turnoffsavebutton - game.showlocation - - - title [EditorGameBorderCaption] diff --git a/src/Engine/Core/CoreTypes.aslx b/src/Engine/Core/CoreTypes.aslx index aaa5ef9a7..76606b4f9 100644 --- a/src/Engine/Core/CoreTypes.aslx +++ b/src/Engine/Core/CoreTypes.aslx @@ -45,7 +45,6 @@ > $! - false 1 Black diff --git a/src/Engine/Core/Languages/EditorDeutsch.aslx b/src/Engine/Core/Languages/EditorDeutsch.aslx index 8f3f625d1..e67bee784 100644 --- a/src/Engine/Core/Languages/EditorDeutsch.aslx +++ b/src/Engine/Core/Languages/EditorDeutsch.aslx @@ -150,7 +150,6 @@ - diff --git a/src/Engine/Core/Languages/EditorEnglish.aslx b/src/Engine/Core/Languages/EditorEnglish.aslx index 376e3ad0f..08e6be931 100644 --- a/src/Engine/Core/Languages/EditorEnglish.aslx +++ b/src/Engine/Core/Languages/EditorEnglish.aslx @@ -147,7 +147,6 @@ -