From d341d73fcf9101dcd55d226d5309e1bc38f7c160 Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Thu, 28 Nov 2024 23:51:32 +0200 Subject: [PATCH] Don't execute update_tileset is we are on draw tiles mode --- src/Classes/Cels/CelTileMap.gd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Classes/Cels/CelTileMap.gd b/src/Classes/Cels/CelTileMap.gd index a1aa4f231..112f82b9f 100644 --- a/src/Classes/Cels/CelTileMap.gd +++ b/src/Classes/Cels/CelTileMap.gd @@ -158,6 +158,8 @@ func transform_tile( func update_tileset() -> void: editing_images.clear() + if TileSetPanel.placing_tiles: + return var tile_editing_mode := TileSetPanel.tile_editing_mode for i in cells.size(): var coords := get_cell_coords_in_image(i)