Merge pull request #10033 from druiz17/tablet-help-script

Remove help button from the tablet when reloading scripts
This commit is contained in:
Seth Alves 2017-03-28 10:19:14 -07:00 committed by GitHub
commit 54a843ee90

View file

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