diff --git a/src/editor/overlay_widget.cpp b/src/editor/overlay_widget.cpp index 636eff6cbf3..508d838bcfc 100644 --- a/src/editor/overlay_widget.cpp +++ b/src/editor/overlay_widget.cpp @@ -908,7 +908,7 @@ EditorOverlayWidget::put_object() target_pos = glm::floor(m_sector_pos / static_cast(snap_grid_size)) * static_cast(snap_grid_size); } - auto object = GameObjectFactory::instance().create(object_class, target_pos, Direction::LEFT); + auto object = GameObjectFactory::instance().create(object_class, target_pos); object->after_editor_set(); auto* mo = dynamic_cast (object.get());