diff options
| author | tpart <tpart120@proton.me> | 2025-10-13 22:49:37 +0200 |
|---|---|---|
| committer | tpart <tpart120@proton.me> | 2025-10-13 22:49:50 +0200 |
| commit | f5ebf3fba93f995a9daba02092413ee0f8cb492a (patch) | |
| tree | dcbd329f93cefbdc12650762f0c6b8d14e933cc7 /client/map/items | |
| parent | b8cd21f1d52928025902917535a7edd782b9816b (diff) | |
| download | hurrycurry-f5ebf3fba93f995a9daba02092413ee0f8cb492a.tar hurrycurry-f5ebf3fba93f995a9daba02092413ee0f8cb492a.tar.bz2 hurrycurry-f5ebf3fba93f995a9daba02092413ee0f8cb492a.tar.zst | |
Clean up weird food processor rotation logic
Diffstat (limited to 'client/map/items')
| -rw-r--r-- | client/map/items/food_processor.gd | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/client/map/items/food_processor.gd b/client/map/items/food_processor.gd index 63bcfebf..1429ea74 100644 --- a/client/map/items/food_processor.gd +++ b/client/map/items/food_processor.gd @@ -16,7 +16,6 @@ class_name FoodProcessor extends Item -var time := 0. var processing: CPUParticles3D = load("res://map/items/processing.tscn").instantiate() func _init(owned_by_: Node3D): @@ -65,9 +64,8 @@ func add_contents(contents: Array[String]): func _process(delta: float): super(delta) - time += delta - processing.rotation.y += time * TAU - base.rotation.y += time * TAU + processing.rotation.y += delta * TAU * 10 + base.rotation.y += delta * TAU * 15 func progress(position_: float, speed: float, warn: bool): super(position_, speed, warn) |