Building creation done

This commit is contained in:
2024-09-16 01:37:41 +03:00
parent d5ad5bac8c
commit e971020cb3
4 changed files with 104 additions and 24 deletions

View File

@@ -245,6 +245,9 @@ void WorldEditor::editor_command(const String &command, const Array &args)
} else if (command == "remove_buildings_by_prefix") {
if (stream_world)
stream_world->run_command(command, args);
} else if (command == "create_building") {
if (stream_world)
stream_world->run_command(command, args);
} else {
if (road_lines_editor)
road_lines_editor->editor_command(command, args);