aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-09-13 19:14:16 +0200
committertpart <tpart120@proton.me>2024-09-13 19:14:16 +0200
commit6aeb23691617a2caec5ba15567b774929e0dd66e (patch)
treea9779f056d3e2e1e2413380aa2c22d832e7c8796
parentd084ae5495f54d1f43ef9e564ebfdf049afa314c (diff)
downloadhurrycurry-6aeb23691617a2caec5ba15567b774929e0dd66e.tar
hurrycurry-6aeb23691617a2caec5ba15567b774929e0dd66e.tar.bz2
hurrycurry-6aeb23691617a2caec5ba15567b774929e0dd66e.tar.zst
Ignore static called on instance warning for item height
-rw-r--r--client/map/items/plate.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/map/items/plate.gd b/client/map/items/plate.gd
index 5bb40af2..1b736f59 100644
--- a/client/map/items/plate.gd
+++ b/client/map/items/plate.gd
@@ -30,6 +30,7 @@ func _init(owned_by_: Node3D, contents: Array):
_: item = ItemFactory.produce(c, base)
base.add_child(item)
item.position.y = height_sum
+ @warning_ignore("static_called_on_instance")
height_sum += item.height()
func setup_sounds():