Commit 6bafa81f authored by neil.fraser@gmail.com's avatar neil.fraser@gmail.com

Prevent dragging of inital block in Maze:1.

git-svn-id: http://blockly.googlecode.com/svn/trunk@1738 c400ca83-b69d-9dd7-9705-49c6b8615e23
parent 6f9b2373
......@@ -530,7 +530,8 @@ Maze.init = function() {
var defaultXml =
'<xml>' +
' <block type="maze_moveForward" x="70" y="70"></block>' +
' <block movable="' + (Maze.LEVEL != 1) + '" type="maze_moveForward" ' +
'x="70" y="70"></block>' +
'</xml>';
BlocklyApps.loadBlocks(defaultXml);
......
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