Working on taxi car
This commit is contained in:
1 parent
38e45d67b8
commit
35a2a91178
21 files changed
+26446
-45
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user