mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
fixed a problem with editing records that do not exist in base
This commit is contained in:
parent
f8a331f173
commit
1b84aeb5b9
@ -81,7 +81,9 @@ namespace CSMWorld
|
||||
throw std::logic_error ("attempt to modify a deleted record");
|
||||
|
||||
mModified = modified;
|
||||
mState = State_Modified;
|
||||
|
||||
if (mState!=State_ModifiedOnly)
|
||||
mState = State_Modified;
|
||||
}
|
||||
|
||||
template <typename ESXRecordT>
|
||||
|
Loading…
x
Reference in New Issue
Block a user