aboutsummaryrefslogtreecommitdiff
path: root/client/map/items
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-09-04 21:15:47 +0200
committertpart <tpart120@proton.me>2024-09-04 21:15:47 +0200
commitf1389c16aee688fd7dd67abb56b5e5c83aaf2c1c (patch)
treef6ea70c805c039d0b3e1bdb612998bfedd1f6b48 /client/map/items
parentfc63ac8ce0b6757e4b61a633f93f4f4c27fd7e03 (diff)
downloadhurrycurry-f1389c16aee688fd7dd67abb56b5e5c83aaf2c1c.tar
hurrycurry-f1389c16aee688fd7dd67abb56b5e5c83aaf2c1c.tar.bz2
hurrycurry-f1389c16aee688fd7dd67abb56b5e5c83aaf2c1c.tar.zst
Fix crash because of incomplete refactor
Diffstat (limited to 'client/map/items')
-rw-r--r--client/map/items/bread.gd4
-rw-r--r--client/map/items/food_processor.gd4
-rw-r--r--client/map/items/pot.gd4
-rw-r--r--client/map/items/strawberry.gd4
-rw-r--r--client/map/items/tomato.gd4
5 files changed, 10 insertions, 10 deletions
diff --git a/client/map/items/bread.gd b/client/map/items/bread.gd
index d869aeb1..a3c109e1 100644
--- a/client/map/items/bread.gd
+++ b/client/map/items/bread.gd
@@ -29,6 +29,6 @@ func progress(position_: float, speed: float, warn: bool):
super(position_, speed, warn)
steam.emitting = warn
-func finish(warn: bool):
- super(warn)
+func finish():
+ super()
steam.emitting = false
diff --git a/client/map/items/food_processor.gd b/client/map/items/food_processor.gd
index ad4a6349..4a73cac5 100644
--- a/client/map/items/food_processor.gd
+++ b/client/map/items/food_processor.gd
@@ -37,8 +37,8 @@ func progress(position_: float, speed: float, warn: bool):
-10.
)
-func finish(warn: bool):
- super(warn)
+func finish():
+ super()
if sound_id != null:
processing.emitting = false
Sound.item_finished(sound_id)
diff --git a/client/map/items/pot.gd b/client/map/items/pot.gd
index 7a4fe40b..2bed6a5c 100644
--- a/client/map/items/pot.gd
+++ b/client/map/items/pot.gd
@@ -31,8 +31,8 @@ func progress(position_: float, speed: float, warn: bool):
else:
steam.color = Color(1.,1.,1.)
-func finish(warn: bool):
- super(warn)
+func finish():
+ super()
steam.emitting = false
func setup_sounds():
diff --git a/client/map/items/strawberry.gd b/client/map/items/strawberry.gd
index e663464f..f2a1165a 100644
--- a/client/map/items/strawberry.gd
+++ b/client/map/items/strawberry.gd
@@ -28,6 +28,6 @@ func progress(position_: float, speed: float, warn: bool):
super(position_, speed, warn)
cut.emitting = true
-func finish(warn: bool):
- super(warn)
+func finish():
+ super()
cut.emitting = false
diff --git a/client/map/items/tomato.gd b/client/map/items/tomato.gd
index 7ecff374..082b2b19 100644
--- a/client/map/items/tomato.gd
+++ b/client/map/items/tomato.gd
@@ -28,6 +28,6 @@ func progress(position_: float, speed: float, warn: bool):
super(position_, speed, warn)
cut.emitting = true
-func finish(warn: bool):
- super(warn)
+func finish():
+ super()
cut.emitting = false