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 b6b9b9e..dcf165c 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: @@ -264,6 +267,7 @@ func revert_current_buff(): buff.gravity: low_gravity_revert() + func apply_buff(): $PowerUI/LabelBuff.text = buff_text() match curr_buff: |