mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-18 22:20:53 +00:00
Fix Journal instruction for non-existing journal indices (Fixes #2063)
This commit is contained in:
parent
e604fcf282
commit
aa02974d3b
@ -41,7 +41,8 @@ namespace MWScript
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
MWBase::Environment::get().getJournal()->setJournalIndex(quest, index);
|
||||
if (MWBase::Environment::get().getJournal()->getJournalIndex(quest) < index)
|
||||
MWBase::Environment::get().getJournal()->setJournalIndex(quest, index);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user