mirror of
https://github.com/scratchfoundation/scratch-flash.git
synced 2024-12-04 21:21:06 -05:00
Merge pull request #205 from nathan/this-script
Fixed "this script" -> "other scripts in sprite" bug
This commit is contained in:
commit
2e5e2816db
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ public class BlockIO {
|
|||
var type:String = (cmd[1].indexOf('other scripts') == 0) ? ' ' : 'f'; // block type depends on menu arg
|
||||
b = new Block('stop %m.stop', type, controlColor, 'stopScripts');
|
||||
if (forStage && b.op == 'stopScripts' && cmd[1] == 'other scripts in sprite') cmd[1] = 'other scripts in stage';
|
||||
if (!forStage && b.op == 'stopScripts' && cmd[1] != 'other scripts in stage') cmd[1] = 'other scripts in sprite';
|
||||
if (!forStage && b.op == 'stopScripts' && cmd[1] == 'other scripts in stage') cmd[1] = 'other scripts in sprite';
|
||||
b.setArg(0, cmd[1]);
|
||||
return b;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue