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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user