diff options
author | tpart <tpart120@proton.me> | 2024-09-04 22:46:42 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-09-04 22:46:42 +0200 |
commit | 656fdfc0baf4479fc1e1c30309c763e68e983520 (patch) | |
tree | 4796931969bad6c1ef1e02660639fadb39157a5d | |
parent | 91a33ef6509205cfe57da9bc72721ebc4195e650 (diff) | |
download | hurrycurry-656fdfc0baf4479fc1e1c30309c763e68e983520.tar hurrycurry-656fdfc0baf4479fc1e1c30309c763e68e983520.tar.bz2 hurrycurry-656fdfc0baf4479fc1e1c30309c763e68e983520.tar.zst |
Only emit slice particles while cutting tomato
-rw-r--r-- | client/map/items/tomato.gd | 6 |
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 |