mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-11 07:18:11 -05:00
Add asset loading states per zone for the usecase of saving loaded menus and menu functions
This commit is contained in:
@ -37,6 +37,8 @@ bool AssetLoaderMenuList::LoadFromRaw(const std::string& assetName, ISearchPath*
|
||||
return std::move(foundFileToInclude.m_stream);
|
||||
});
|
||||
|
||||
reader.IncludeZoneState(manager->GetAssetLoadingContext()->GetZoneAssetLoaderState<menu::MenuAssetZoneState>());
|
||||
|
||||
const auto menuFileResult = reader.ReadMenuFile();
|
||||
if(menuFileResult)
|
||||
{
|
||||
|
Reference in New Issue
Block a user