Skip to content

Commit

Permalink
fixed artifact scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
StaringLongingly committed Sep 13, 2024
1 parent 2d0a800 commit 46e1057
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/Generic Consumable.gd
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ func _ready() -> void:
target_angle = (to - from).angle()
target_angle += (randf() * 2 - 1) * angleVariation / 360 * PI

# Initialize position and rotation
# Initialize position and rotation and scale
global_scale = cachedScale
global_position = from
rotation_degrees = rad_to_deg(target_angle) + 90

Expand Down

0 comments on commit 46e1057

Please sign in to comment.