summaryrefslogtreecommitdiffhomepage
path: root/editor/tile-editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/tile-editor.cpp')
-rw-r--r--editor/tile-editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/tile-editor.cpp b/editor/tile-editor.cpp
index 8df82609..6e4da967 100644
--- a/editor/tile-editor.cpp
+++ b/editor/tile-editor.cpp
@@ -147,6 +147,7 @@ tile_image_proto tile_editor::get_selected()
void tile_editor::place_tile(world& world, global_coords pos, const tile_image_proto& img)
{
auto [c, t] = world[pos];
+ c.mark_modified();
switch (_mode)
{
case editor_mode::none: