diff options
Diffstat (limited to '')
-rw-r--r-- | godot/scenes/Die.gd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/godot/scenes/Die.gd b/godot/scenes/Die.gd index 3591cba..bae6c84 100644 --- a/godot/scenes/Die.gd +++ b/godot/scenes/Die.gd @@ -59,6 +59,9 @@ func _input(event): if _game.is_post_game(): if event is InputEventMouseButton || event is InputEventKey: _game.next_level() + translation.x = 0 + translation.y = 0 + translation.z = 0 return if event is InputEventKey: @@ -251,6 +254,7 @@ func revert_current_buff(): buff.gravity: gravity_scale = default_gravity + func apply_buff(): gravity_scale = default_gravity match curr_buff: |