Working on taxi car

This commit is contained in:
Vladislav Khorev committed 2026-07-14 14:07:53 +03:00
1 parent 38e45d67b8
commit 35a2a91178
21 files changed
+26446 -45

No files matched your search

+5
View File
@@ -77,6 +77,8 @@ void GameState::save(nlohmann::json& out) const
}
}
out["locations"] = std::move(locsJson);
out["taxiIsCalled"] = taxiIsCalled;
}
void GameState::load(const nlohmann::json& in)
@@ -149,6 +151,9 @@ void GameState::load(const nlohmann::json& in)
}
}
}
// --- Taxi ---
taxiIsCalled = in.value("taxiIsCalled", taxiIsCalled);
}
} // namespace ZL