summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-11-06 17:49:45 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-11-06 17:49:45 +0100
commit4e4593c6c6c79e9ac15f55461a4a13c8c9bd7888 (patch)
treea034a54892dc80cf0f0a23effcccf92302639fee
parentc53efe4e4f8c3c08ac3d0e256013785f54498f73 (diff)
death: Fix inverted fade.
-rw-r--r--scenes/death.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scenes/death.scm b/scenes/death.scm
index afa3981..676311c 100644
--- a/scenes/death.scm
+++ b/scenes/death.scm
@@ -181,7 +181,7 @@ quite short."))
(set-source-pitch! background-music a)
(set-source-volume! background-music a)
(set! fade-box-fill
- (make-color 0 0 0 a)))
+ (make-color 0 0 0 (1- a))))
#:ease ease-out-sine)
(source-stop background-music)
(abort-game)))