diff options
author | nokoe <nokoe@mailbox.org> | 2024-06-23 00:59:05 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-06-23 19:31:29 +0200 |
commit | f722ef29c49e358c0e7fb660d49e99cf0f7591fa (patch) | |
tree | 842802cd700c0549de63b673a11555e59314c0b1 /client/scripts/map.gd | |
parent | 8709a005e81495e8c3ed2c12c1e1421e4736a258 (diff) | |
download | hurrycurry-f722ef29c49e358c0e7fb660d49e99cf0f7591fa.tar hurrycurry-f722ef29c49e358c0e7fb660d49e99cf0f7591fa.tar.bz2 hurrycurry-f722ef29c49e358c0e7fb660d49e99cf0f7591fa.tar.zst |
fix warnings
Diffstat (limited to 'client/scripts/map.gd')
-rw-r--r-- | client/scripts/map.gd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/scripts/map.gd b/client/scripts/map.gd index 01c7b66e..bceccd8f 100644 --- a/client/scripts/map.gd +++ b/client/scripts/map.gd @@ -47,8 +47,8 @@ func update(pos, tile_name, neighbors): "door": instance = Door.new(node_name, neighbors) var t: - push_error("tile tile %s unknown" % t) - instance = Floor.new(node_name, neighbors) + push_warning("tile tile %s unknown" % t) + instance = GenericTile.new(node_name, neighbors, t) instance.position = Vector3(pos[0], 0, pos[1]) tile_by_pos[str(Vector2i(pos[0],pos[1]))] = instance |