mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-16 02:57:03 +00:00
Proper handling for persistently resident resources
This commit is contained in:
@@ -91,7 +91,7 @@ void CToken::Lock() {
|
||||
}
|
||||
}
|
||||
bool CToken::IsLoaded() const {
|
||||
if (!x0_objRef)
|
||||
if (!x0_objRef || !x4_lockHeld)
|
||||
return false;
|
||||
return x0_objRef->IsLoaded();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user