Commit dd58c2a7 authored by Blake Bourque's avatar Blake Bourque

Make the "seats =" block not deletable.

If this block is removed, the puzzle cannot be completed. THis will make a good example users can be pointed to for a use example of setDeletable(boolean).
parent 906b62f7
......@@ -31,6 +31,7 @@ Blockly.Blocks['plane_set_seats'] = {
this.appendValueInput('VALUE')
.appendField(Plane.getMsg('Plane_setSeats'));
this.setTooltip(Blockly.Msg.VARIABLES_SET_TOOLTIP);
this.setDeletable(false);
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment