Update ExtensionManager.as

This commit is contained in:
doyousketch2 2014-06-25 14:12:38 -04:00
parent 672ca8f485
commit 8352badd70

View file

@ -326,7 +326,7 @@ public class ExtensionManager {
value = ext.stateVars[sensorName];
}
else if(Scratch.app.jsEnabled) {
// Javascript
// JavaScript
value = ExternalInterface.call('ScratchExtensions.getReporter', ext.name, sensorName, args);
}
if (value == undefined) value = 0; // default to zero if missing