Merge branch 'main' into debugging-client

This commit is contained in:
MihailRis
2025-11-19 20:14:21 +03:00
30 changed files with 560 additions and 135 deletions
+1
View File
@@ -120,6 +120,7 @@ static int l_close_world(lua::State* L) {
if (controller == nullptr) {
throw std::runtime_error("no world open");
}
controller->processBeforeQuit();
bool save_world = lua::toboolean(L, 1);
if (save_world) {
controller->saveWorld();