From a596e07464ef8746e54dd4c7d249d129f9214231 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Wed, 31 Jan 2018 11:05:35 -0800 Subject: [PATCH] fix left-over run button when scripts are reloaded --- scripts/system/run.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/system/run.js b/scripts/system/run.js index c34271b18d..8d1fb62619 100644 --- a/scripts/system/run.js +++ b/scripts/system/run.js @@ -35,4 +35,5 @@ button.editProperties({isActive: true}); } + Script.scriptEnding.connect(cleanup); }());