refactor: only refer to game id in zone

This commit is contained in:
Jan Laupetin
2025-08-31 18:00:27 +01:00
parent 495e85f945
commit 734173066b
56 changed files with 145 additions and 193 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ namespace
{
std::unique_ptr<Zone> CreateZone(const ZoneCreationContext& context, const GameId gameId)
{
return std::make_unique<Zone>(context.m_definition->m_name, 0, IGame::GetGameById(gameId));
return std::make_unique<Zone>(context.m_definition->m_name, 0, gameId);
}
std::vector<Gdt*> CreateGdtList(const ZoneCreationContext& context)