1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 16:45:33 +00:00

Reset watched stats upon reload or new game start

This commit is contained in:
Andrei Kortunov 2021-03-19 11:56:14 +04:00
parent 6ba4a36dbd
commit 54daa234bd
2 changed files with 4 additions and 0 deletions

View file

@ -63,6 +63,8 @@ namespace MWGui
void watchActor(const MWWorld::Ptr& ptr);
MWWorld::Ptr getWatchedActor() const { return mWatched; }
void forceUpdate() { mWatchedStatsEmpty = true; }
};
}

View file

@ -495,6 +495,8 @@ namespace MWGui
}
else
allow(GW_ALL);
mStatsWatcher->forceUpdate();
}
WindowManager::~WindowManager()