mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 15:04:56 +00:00
Fix CStateManager::GetIdListForScript
This commit is contained in:
@@ -1260,7 +1260,10 @@ CStateManager::GetIdListForScript(TEditorId id) const
|
||||
{
|
||||
auto ret = x890_scriptIdMap.equal_range(id);
|
||||
if (ret.first != x890_scriptIdMap.cend() && ret.first->first != id)
|
||||
{
|
||||
ret.first = x890_scriptIdMap.cend();
|
||||
ret.second = x890_scriptIdMap.cend();
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user