fix typo
This commit is contained in:
parent
9c4399859f
commit
f23c50f331
@ -137,12 +137,12 @@ window.addEventListener('load', function() {
|
||||
};
|
||||
|
||||
Blockly.Python['sumorobot_opponent'] = function(block) {
|
||||
var code = 'sumorobot.is_opponent();;' + block.id + '\n';
|
||||
var code = 'sumorobot.is_opponent()';
|
||||
return [code, Blockly.Python.ORDER_ATOMIC];
|
||||
};
|
||||
|
||||
Blockly.Python['sumorobot_line'] = function(block) {
|
||||
var code = 'sumorobot.is_line(' + block.getFieldValue('LINE') + ');;' + block.id + '\n';
|
||||
var code = 'sumorobot.is_line(' + block.getFieldValue('LINE') + ')';
|
||||
return [code, Blockly.Python.ORDER_ATOMIC];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user