reset game on scene reset
This commit is contained in:
parent
eef53251d1
commit
71df1d415c
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ module Scene
|
||||||
|
|
||||||
# you can also add custom reset logic as-needed for specific scenes
|
# you can also add custom reset logic as-needed for specific scenes
|
||||||
# here
|
# here
|
||||||
|
args.state.game.reset_game if args.state.game
|
||||||
end
|
end
|
||||||
|
|
||||||
args.state.scene = scene
|
args.state.scene = scene
|
||||||
|
|
Loading…
Reference in a new issue