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

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.1.31 \cu(Thu 21 Oct 23:25:47 CEST 2021)\c-";
SWWM_SHORTVER="\cw1.1.31 \cu(2021-10-21 23:25:47)\c-";
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.1.31 \cu(Fri 22 Oct 13:00:17 CEST 2021)\c-";
SWWM_SHORTVER="\cw1.1.31 \cu(2021-10-22 13:00:17)\c-";

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();