a game about throwing hammers made for the github game off
Diffstat (limited to 'player/player.gd')
| -rw-r--r-- | player/player.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/player.gd b/player/player.gd index fac7978..7c4a90f 100644 --- a/player/player.gd +++ b/player/player.gd @@ -301,7 +301,7 @@ func disable_aim_gizmo() -> void: ## Throws the hammer. func throw(rot: float) -> void: - rot + randf_range(-0.01, 0.01) + rot += randf_range(-0.01, 0.01) remove_child(current_hammer) current_hammer.position.x = 0 # center current_hammer.global_position = to_global(current_hammer.position) |