summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@vistahigherlearning.com>2021-04-22 11:09:52 -0400
committerDavid Thompson <dthompson@vistahigherlearning.com>2021-04-22 11:09:52 -0400
commit561e9db33599f0929a727529ba211754e572f4fc (patch)
treee0bae1d5b81a9002dadd83df5b06051b51ae616d
parent6ed676f681ac6eb8e2aa601a10508b360c716756 (diff)
Fix bug when transitioning to endings.
-rw-r--r--game.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/game.scm b/game.scm
index 7c23916..b415d3d 100644
--- a/game.scm
+++ b/game.scm
@@ -548,8 +548,7 @@ line before I need to wrap it?"
(set! (tint (& game explore-group terminal sprite)) color)
(set! (tint (& game explore-group fridge sprite)) color)
(set! (tint (& game explore-group window sprite)) color)
- (set! (tint (& game explore-group
- notebook sprite)) color))
+ (set! (tint (& game explore-group notebook sprite)) color))
(define (fade-in)
(tween 60 black white tint-all
#:interpolate color-lerp))
@@ -567,7 +566,9 @@ line before I need to wrap it?"
(let ((g (& game explore-group)))
(detach g)
(if (string=? (pin-entry game) "314159")
- (end-game)
+ (begin
+ (attach-to game g)
+ (end-game))
(begin
(attach-to game g)
(dialog game player-display-name