fixed bug - not returning this
This commit is contained in:
parent
c32f8aab5f
commit
d448fbe9e7
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
Drone.extend('skyscraper',function(floors){
|
Drone.extend('skyscraper',function(floors){
|
||||||
|
floors = floors || 10;
|
||||||
this.chkpt('skyscraper');
|
this.chkpt('skyscraper');
|
||||||
for (var i = 0;i < floors; i++)
|
for (var i = 0;i < floors; i++)
|
||||||
{
|
{
|
||||||
|
@ -7,5 +8,5 @@ Drone.extend('skyscraper',function(floors){
|
||||||
.box0(blocks.glass_pane,20,3,20);
|
.box0(blocks.glass_pane,20,3,20);
|
||||||
this.up(3);
|
this.up(3);
|
||||||
}
|
}
|
||||||
this.move('skyscraper');
|
return this.move('skyscraper');
|
||||||
});
|
});
|
||||||
|
|
Reference in a new issue