2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-12-16 15:47:47 +00:00

refactor: only refer to game id in zone

This commit is contained in:
Jan Laupetin
2025-08-30 16:49:09 +02:00
parent 495e85f945
commit 734173066b
56 changed files with 145 additions and 193 deletions

View File

@@ -10,7 +10,7 @@ bool ZoneWriting::WriteZone(std::ostream& stream, const Zone& zone)
{
const auto start = std::chrono::high_resolution_clock::now();
const auto factory = IZoneWriterFactory::GetZoneWriterFactoryForGame(zone.m_game->GetId());
const auto factory = IZoneWriterFactory::GetZoneWriterFactoryForGame(zone.m_game_id);
const auto zoneWriter = factory->CreateWriter(zone);
if (zoneWriter == nullptr)