Skip to content

[Bug] .createConstructionSite should not place multiple construction sites at the same position #59

@antonnyst

Description

@antonnyst

.createConstructionSite should return ERR_INVALID_TARGET instead of OK if a construction site already exists at the specified location.
To reproduce run for example:
new RoomPosition(25,25,"W8N3").createConstructionSite(STRUCTURE_ROAD);
new RoomPosition(25,25,"W8N3").createConstructionSite(STRUCTURE_RAMPART);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions