Skip to content

Commit

Permalink
cmon no bugs found at all its ready to release
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyGamer13 committed Jun 30, 2024
1 parent 0c67b9c commit 0fd42a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,10 @@ Blockly.Connection.prototype.canConnectWithReason_ = function(target) {
return Blockly.Connection.REASON_SHADOW_PARENT;
} else if ((this.targetConnection &&
this.targetConnection.sourceBlock_ &&
(Blockly.scratchBlocksUtils.isShadowArgumentReporter(this.targetConnection.sourceBlock_) && this.targetConnection.sourceBlock_.canDragDuplicate())) ||
(Blockly.scratchBlocksUtils.isShadowArgumentReporter(this.targetConnection.sourceBlock_) || this.targetConnection.sourceBlock_.canDragDuplicate())) ||
(target.targetConnection &&
target.targetConnection.sourceBlock_ &&
(Blockly.scratchBlocksUtils.isShadowArgumentReporter(target.targetConnection.sourceBlock_) && this.targetConnection.sourceBlock_.canDragDuplicate()))) {
(Blockly.scratchBlocksUtils.isShadowArgumentReporter(target.targetConnection.sourceBlock_) || target.targetConnection.sourceBlock_.canDragDuplicate()))) {
return Blockly.Connection.REASON_ARGUMENT_GENERATOR
}
return Blockly.Connection.CAN_CONNECT;
Expand Down

0 comments on commit 0fd42a9

Please sign in to comment.