mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -04:00
[Client] Fix crash on Linux
This commit is contained in:
parent
b1460cf010
commit
b0ebad8b83
@ -650,7 +650,8 @@ namespace MWWorld
|
||||
loadRef (ref, deleted, refNumToID);
|
||||
}
|
||||
|
||||
setLastRefNumIndex(refNumToID.rbegin()->first.mIndex);
|
||||
if(refNumToID.size() != 0)
|
||||
setLastRefNumIndex(refNumToID.rbegin()->first.mIndex);
|
||||
|
||||
updateMergedRefs();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user