mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-27 00:10:31 +00:00
Merge pull request #2725 from akortunov/factions
Do not write empty trade time
This commit is contained in:
commit
d8e1a6b286
1 changed files with 2 additions and 1 deletions
|
@ -144,6 +144,7 @@ void ESM::CreatureStats::save (ESMWriter &esm) const
|
|||
if (mGoldPool)
|
||||
esm.writeHNT ("GOLD", mGoldPool);
|
||||
|
||||
if (mTradeTime.mDay != 0 || mTradeTime.mHour != 0)
|
||||
esm.writeHNT ("TIME", mTradeTime);
|
||||
|
||||
if (mDead)
|
||||
|
|
Loading…
Reference in a new issue