Statbars: Reduce initial update interval
authorSmallJoker <mk939@ymail.com>
Sun, 20 May 2018 15:58:41 +0000 (17:58 +0200)
committerparamat <mat.gregory@virginmedia.com>
Tue, 12 Feb 2019 20:45:38 +0000 (20:45 +0000)
commiteea1fdaf2574fec38316527cfc463ff2427c5775
tree6f5f15eedad3de9d296e63a05fef5290877fec59
parentffb17f1c9a203fea6de70159b461f52d104e05b9
Statbars: Reduce initial update interval

Centralize HUD updating in update_builtin_statbars.
Fixes race condition in 'on joinplayer' that causes stat bar bugs.
Correctly scales stat bars to custom max values set by mods.
builtin/game/statbars.lua