mirror of
https://git.kittycat.homes/zoe/codename-routes.git
synced 2024-08-15 03:18:26 +00:00
height
This commit is contained in:
parent
b6fbb204f1
commit
4daf1fe0ff
5 changed files with 41 additions and 18 deletions
|
@ -21,9 +21,8 @@ func get_tile_at(pos: Vector3) -> String:
|
|||
|
||||
func update_tiles(tile_positions: PoolVector3Array):
|
||||
for tile in tile_positions:
|
||||
if !StateServer.is_tile_hidden(int(tile.x), int(tile.y), int(tile.z)):
|
||||
tilemaps[tile.z].set_tile_graphics(Vector2(tile.x, tile.y),
|
||||
get_tile_at(tile))
|
||||
tilemaps[tile.z].set_tile_graphics(Vector2(tile.x, tile.y),
|
||||
get_tile_at(tile))
|
||||
for map in tilemaps:
|
||||
map.update_dirty_quadrants()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue