diff options
Diffstat (limited to 'editor/editor.cpp')
| -rw-r--r-- | editor/editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor.cpp b/editor/editor.cpp index 9676a22d..1bba44d6 100644 --- a/editor/editor.cpp +++ b/editor/editor.cpp @@ -82,7 +82,7 @@ void editor::on_mouse_move(world& world, global_coords& pos, int mods) void editor::on_click_(world& world, global_coords pos, button b) { if (auto* mode = current_tile_editor(); mode != nullptr) - if (auto opt = mode->get_selected(); opt) + if (auto opt = mode->get_selected(); opt || b == button::remove) { switch (b) { |
