diff options
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 |