summaryrefslogtreecommitdiff
path: root/client/scripts/tiles/floor.gd
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2024-06-23 00:59:05 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-23 19:31:29 +0200
commitf722ef29c49e358c0e7fb660d49e99cf0f7591fa (patch)
tree842802cd700c0549de63b673a11555e59314c0b1 /client/scripts/tiles/floor.gd
parent8709a005e81495e8c3ed2c12c1e1421e4736a258 (diff)
downloadhurrycurry-f722ef29c49e358c0e7fb660d49e99cf0f7591fa.tar
hurrycurry-f722ef29c49e358c0e7fb660d49e99cf0f7591fa.tar.bz2
hurrycurry-f722ef29c49e358c0e7fb660d49e99cf0f7591fa.tar.zst
fix warnings
Diffstat (limited to 'client/scripts/tiles/floor.gd')
-rw-r--r--client/scripts/tiles/floor.gd2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/scripts/tiles/floor.gd b/client/scripts/tiles/floor.gd
index b596895a..ba352bde 100644
--- a/client/scripts/tiles/floor.gd
+++ b/client/scripts/tiles/floor.gd
@@ -19,6 +19,8 @@ func _init(rename: String, _neighbors: Array):
add_child(base)
self.name = rename
var item_base_ = Node3D.new()
+ # this method is supposed to be overriden
+ @warning_ignore("static_called_on_instance")
item_base_.position = interact_target()
item_base_.name = "ItemBase"
base.add_child(item_base_)