mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 13:07:42 +00:00
Fix Impact Crater causing an infinite loop for simply not having a skybox
This commit is contained in:
@@ -1336,8 +1336,10 @@ std::pair<TEditorId, TUniqueId> CStateManager::LoadScriptObject(TAreaId aid, ESc
|
||||
if (error || ent == nullptr) {
|
||||
LogModule.report(logvisor::Error, fmt("Script load error while loading {}"), ScriptObjectTypeToStr(type));
|
||||
return {kInvalidEditorId, kInvalidUniqueId};
|
||||
} else
|
||||
} else {
|
||||
LogModule.report(logvisor::Info, fmt("Loaded {} in area {}"), ent->GetName(), ent->GetAreaIdAlways());
|
||||
return {id, ent->GetUniqueId()};
|
||||
}
|
||||
}
|
||||
|
||||
std::pair<TEditorId, TUniqueId> CStateManager::GenerateObject(TEditorId eid) {
|
||||
|
||||
Reference in New Issue
Block a user