2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-11-23 21:22:07 +00:00

The linker should continue with building the fastfile if the asset list is empty and the map type isn't NONE.

This commit is contained in:
LJW-Dev
2025-11-01 17:32:36 +08:00
parent 3948feaaf8
commit b7d629d26b

View File

@@ -1,5 +1,4 @@
#include "Linker.h"
#include "LinkerArgs.h"
#include "LinkerPaths.h"
#include "ObjContainer/SoundBank/SoundBankWriter.h"
@@ -330,7 +329,7 @@ class LinkerImpl final : public Linker
PathGameContext gameContext(paths, projectName, zoneDefinition->m_game);
if (!zoneDefinition->m_assets.empty())
if (!zoneDefinition->m_assets.empty() || zoneDefinition->m_map_type != ZoneDefinitionMapType::NONE)
{
if (!BuildFastFile(paths, projectName, targetName, *zoneDefinition))
return false;