From 8a770b405ae36ea410d734430759d16c34d0d594 Mon Sep 17 00:00:00 2001 From: jennie Date: Tue, 7 Nov 2023 20:44:16 +0000 Subject: [PATCH] deploy: cfc65e275fcfa2ec2b3e146bef17b0b0104d63e1 --- css/main.css | 2 +- index.html | 6 +++--- twine_src/css/output.css | 4 ++-- twine_src/scripts/init.js | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/css/main.css b/css/main.css index afd66c4..d18f5d1 100644 --- a/css/main.css +++ b/css/main.css @@ -7,7 +7,6 @@ body, html { margin: 0; height: 100%; /* Full height */ - overflow: hidden; /* Prevent body scrolling */ } #hud { @@ -107,6 +106,7 @@ html { body[data-tags~="map-screen"] { padding: 0; + overflow: hidden; /* Prevent body scrolling */ } body.customization { @apply pt-12 px-6 pb-0 absolute top-0 left-0 w-full h-full bg-neutral-900 text-neutral-400; diff --git a/index.html b/index.html index 3682a97..0073255 100644 --- a/index.html +++ b/index.html @@ -1583,8 +1583,6 @@ margin: 0; height: 100%; /* Full height */ - overflow: hidden; - /* Prevent body scrolling */ } #hud{ @@ -1734,6 +1732,8 @@ body[data-tags~="map-screen"] { padding: 0; + overflow: hidden; + /* Prevent body scrolling */ } body.customization{ @@ -2570,7 +2570,7 @@ (s) => s.title === currentPassageTitle ); if (scenario) scenario.complete = true; - // setup.game.energy += energyChange; + story.checkpoint("Completed " + currentPassageTitle); story.show("Map Screen"); story.state.changeEnergy(energyChange); }; diff --git a/twine_src/css/output.css b/twine_src/css/output.css index 30a03e3..a6aa69f 100644 --- a/twine_src/css/output.css +++ b/twine_src/css/output.css @@ -1571,8 +1571,6 @@ html { margin: 0; height: 100%; /* Full height */ - overflow: hidden; - /* Prevent body scrolling */ } #hud{ @@ -1722,6 +1720,8 @@ html { body[data-tags~="map-screen"] { padding: 0; + overflow: hidden; + /* Prevent body scrolling */ } body.customization{ diff --git a/twine_src/scripts/init.js b/twine_src/scripts/init.js index 0d08725..94b17b7 100644 --- a/twine_src/scripts/init.js +++ b/twine_src/scripts/init.js @@ -479,7 +479,7 @@ setup.completeScenario = function (energyChange) { (s) => s.title === currentPassageTitle ); if (scenario) scenario.complete = true; - // setup.game.energy += energyChange; + story.checkpoint("Completed " + currentPassageTitle); story.show("Map Screen"); story.state.changeEnergy(energyChange); };