Incorrect description of StructureSpawn.spawnCreep() return code -10.



  • The description of ERR_INVALID_ARGS says it got an invalid body or was missing a name.

    However, passing a directions: {DIRECTION} rather than directions: {[DIRECTION]} also returns -10.