diff --git a/mods/ToneAPI.pulse/mod/scripts/vscripts/pulse-loeb-component.nut b/mods/ToneAPI.pulse/mod/scripts/vscripts/pulse-loeb-component.nut index 1f4b592..052b98c 100644 --- a/mods/ToneAPI.pulse/mod/scripts/vscripts/pulse-loeb-component.nut +++ b/mods/ToneAPI.pulse/mod/scripts/vscripts/pulse-loeb-component.nut @@ -1,18 +1,7 @@ global function pulseRegisterWithLoeb -global function pulseLoebFunc void function pulseRegisterWithLoeb() { - loebLogMod(pulseLoebFunc()) -} - -void function pulseLoebFunc() -{ - print("func called") - GetStats() -} - -void function GetStats() -{ - loebSetLockedButton(Localize("#MENU_TITLE_STATS"), pulseGetData()) + bool success = pulseGetData() + loebSetLockedButton(Localize("#MENU_TITLE_STATS"), success) } \ No newline at end of file