lol: j'ai oublié cet appel à hud.reset()
Il fallait l'enlever aussi, sinon ça crash d'où le lol!
This commit is contained in:
1
game.gd
1
game.gd
@@ -30,7 +30,6 @@ func _ready() -> void:
|
|||||||
|
|
||||||
func reload_current_scene() -> void:
|
func reload_current_scene() -> void:
|
||||||
go_to(scene_name, last_spawn_point)
|
go_to(scene_name, last_spawn_point)
|
||||||
hud.reset()
|
|
||||||
|
|
||||||
func enter_door(destination : String, other_side_position : Vector2):
|
func enter_door(destination : String, other_side_position : Vector2):
|
||||||
call_deferred("go_to", destination, other_side_position)
|
call_deferred("go_to", destination, other_side_position)
|
||||||
|
|||||||
Reference in New Issue
Block a user