mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 16:15:31 +00:00
Reset watched stats upon reload or new game start
This commit is contained in:
parent
6ba4a36dbd
commit
54daa234bd
2 changed files with 4 additions and 0 deletions
|
@ -63,6 +63,8 @@ namespace MWGui
|
|||
|
||||
void watchActor(const MWWorld::Ptr& ptr);
|
||||
MWWorld::Ptr getWatchedActor() const { return mWatched; }
|
||||
|
||||
void forceUpdate() { mWatchedStatsEmpty = true; }
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -495,6 +495,8 @@ namespace MWGui
|
|||
}
|
||||
else
|
||||
allow(GW_ALL);
|
||||
|
||||
mStatsWatcher->forceUpdate();
|
||||
}
|
||||
|
||||
WindowManager::~WindowManager()
|
||||
|
|
Loading…
Reference in a new issue