Update cursor handling and reset functionality, improve UI elements. Reset game state cursor when needed.
This commit is contained in:
parent
6e6a231300
commit
4b5ac48e10
6 changed files with 33 additions and 4 deletions
|
|
@ -28,6 +28,7 @@ func _ready():
|
|||
func _on_change_scene(scene_name):
|
||||
Log.pr("Going to load a scene.", scene_name)
|
||||
if SCENES.has(scene_name):
|
||||
GameState.reset()
|
||||
loading_scene_res = load(SCENES[scene_name])
|
||||
Log.pr("Loading scene: ", loading_scene_res)
|
||||
$TransitionScene.transition()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue