remove help button from tablet when reloading scripts

This commit is contained in:
Dante Ruiz 2017-03-28 18:14:05 +01:00
parent dd6e4ed5d8
commit b0e437cc5a

View file

@ -56,7 +56,7 @@
}, POLL_RATE);
Script.scriptEnding.connect(function () {
if (onUserScreen) {
if (onHelpScreen) {
tablet.gotoHomeScreen();
}
button.clicked.disconnect(onClicked);