summaryrefslogtreecommitdiffhomepage
path: root/editor/update.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/update.cpp')
-rw-r--r--editor/update.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/update.cpp b/editor/update.cpp
index 18cab4f7..63cc7a3c 100644
--- a/editor/update.cpp
+++ b/editor/update.cpp
@@ -75,7 +75,7 @@ void app::do_mouse_up_down(uint8_t button, bool is_down, int mods)
if (auto* cl = find_clickable_scenery(*cursor.pixel))
{
_pending_popup = true;
- _popup_target = { .e = cl->e, .target = popup_target_type::scenery, };
+ _popup_target = { .id = cl->e->id, .target = popup_target_type::scenery, };
}
break;
case editor_mode::floor: