summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2024-04-22 12:50:38 +0100
committerdavidovski <david@davidovski.xyz>2024-04-22 12:50:38 +0100
commitad92c3751e29376852a5506f131abc8faa287068 (patch)
treee315126473af0c45941c35e1222110e3032fc3a4
parentec04c06ffad66ec95560aba08e70134d3ba2d5e5 (diff)
make exit movable to avoid softlock
-rw-r--r--level.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/level.go b/level.go
index 2199a37..8c46bc8 100644
--- a/level.go
+++ b/level.go
@@ -140,6 +140,7 @@ func StartLevel4(g *Game) {
func StartLevel5(g *Game) {
g.SetPlacing()
g.toPlace = append(g.toPlace, NewSpike(g, 0, 0))
+ g.exit.movable = true
// after end
g.QueueState(ReverseLevel)