From 71df1d415c5866406bf8e67dcfdb91109f68d607 Mon Sep 17 00:00:00 2001 From: Gordon Pedersen Date: Wed, 22 Mar 2023 14:22:20 +1100 Subject: [PATCH] reset game on scene reset --- app/scene.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/scene.rb b/app/scene.rb index 6f0b733..60e5c9b 100644 --- a/app/scene.rb +++ b/app/scene.rb @@ -23,6 +23,7 @@ module Scene # you can also add custom reset logic as-needed for specific scenes # here + args.state.game.reset_game if args.state.game end args.state.scene = scene