kopia lustrzana https://github.com/backface/turtlestitch
fixed a glitch in doWhen()
rodzic
3d0230dcdd
commit
ad25c6aefd
|
@ -334,9 +334,12 @@ ThreadManager.prototype.findProcess = function (block) {
|
|||
|
||||
ThreadManager.prototype.doWhen = function (block, stopIt) {
|
||||
if (this.pauseCustomHatBlocks) {return; }
|
||||
var pred = block.inputs()[0];
|
||||
var pred = block.inputs()[0], world;
|
||||
if (block.removeHighlight()) {
|
||||
block.world().hand.destroyTemporaries();
|
||||
world = block.world();
|
||||
if (world) {
|
||||
world.hand.destroyTemporaries();
|
||||
}
|
||||
}
|
||||
if (stopIt) {return; }
|
||||
if ((!block) ||
|
||||
|
|
Ładowanie…
Reference in New Issue