createConstructionsite not working for creating roads.
-
createConstructionSite seems to be non-funcitonal since the last update:
var result = theCreep.room.createConstructionSite(theCreep.pos, STRUCTURE_ROAD);
console.log("Create construction site result ["+result+"]? pos: ["+theCreep.pos+"] structure: ["+STRUCTURE_ROAD+"] " + theCreep.name);yields the following result:
I have not hit the 100 construction site limit yet, and the room has no invaders.
Creating it by hand, using the construction tool, does work.
-
It was due to a creep on that square. Fixed now, thanks for reporting.
-
Cool thanks for fixing!