Tick only HUD interpolators from Demolitionist Menu.

This commit is contained in:
Mari the Deer 2021-10-22 13:00:17 +02:00
commit 1262ed4e75
2 changed files with 6 additions and 3 deletions

View file

@ -2328,7 +2328,10 @@ Class DemolitionistMenu : GenericMenu
else menuactive = Menu.OnNoPause;
// forcibly tick hud (mainly so interpolators can still update in the background)
if ( !multiplayer && (menuactive == Menu.On) )
StatusBar.Tick();
{
let bar = SWWMStatusBar(StatusBar);
if ( bar ) bar.TickInterpolators();
}
if ( tabs[curtab] == TAB_INVENTORY )
{
invlist.Clear();