MZ Moghunter Battlehud no atb gauge when time progress (wait) selected.

Hi all,

I've been using moghunters battlehud. I created a hud to my taste. Only one problem. the atb gauge is only visible when i select "Time Progress (active)", if I select "Time Progress (wait) then the gauge disappears and my actors/enemies are waiting there sitting until the gauge fills up but you never know when it will fill up until the command window pops up and you can take action.
I tested this in the moghunter demo and it seems that even in the demo you cannot see the bar. What changes can I make to the battlehug plugin to make it appear?
Solved
If possible can you post how you solved it, in case others have this problem?
There is a line in the javascript that goes like this:
JavaScript:
if (BattleManager.isActiveTpb()) {this.create_at_meter()};
replace that code with this
JavaScript:
if (BattleManager.isTpb()) {this.create_at_meter()};

Original thread: https://forums.rpgmakerweb.com/threads/moghunter-battlehud-no-atb-gauge-when-time-progress-wait-selected.136820/