Merge pull request #3056 from akortunov/master

Reset watched stats upon reload or new game start
pull/593/head
Bret Curtis 4 years ago committed by GitHub
commit 8f996d0bce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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

Loading…
Cancel
Save