aboutsummaryrefslogtreecommitdiff
path: root/client/map/items
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-09-04 22:46:42 +0200
committertpart <tpart120@proton.me>2024-09-04 22:46:42 +0200
commit656fdfc0baf4479fc1e1c30309c763e68e983520 (patch)
tree4796931969bad6c1ef1e02660639fadb39157a5d /client/map/items
parent91a33ef6509205cfe57da9bc72721ebc4195e650 (diff)
downloadhurrycurry-656fdfc0baf4479fc1e1c30309c763e68e983520.tar
hurrycurry-656fdfc0baf4479fc1e1c30309c763e68e983520.tar.bz2
hurrycurry-656fdfc0baf4479fc1e1c30309c763e68e983520.tar.zst
Only emit slice particles while cutting tomato
Diffstat (limited to 'client/map/items')
-rw-r--r--client/map/items/tomato.gd6
1 files changed, 1 insertions, 5 deletions
diff --git a/client/map/items/tomato.gd b/client/map/items/tomato.gd
index 082b2b19..65b7fc28 100644
--- a/client/map/items/tomato.gd
+++ b/client/map/items/tomato.gd
@@ -26,8 +26,4 @@ func _init(owned_by_: Node3D):
func progress(position_: float, speed: float, warn: bool):
super(position_, speed, warn)
- cut.emitting = true
-
-func finish():
- super()
- cut.emitting = false
+ cut.emitting = speed > 0