Skip to content

[BUG]: CheckpointDoor.SubDoors doesn't contain any existing door #321

@Catiatto

Description

@Catiatto

Before You Report

  • I have searched for existing reports of this bug, and this bug report is unique.

Version

1.1.4

Description

Despite SubDoors' arrays not being empty, none of them contains any existing door from Door.List.

To Reproduce

public void OnMapGenerated(MapGeneratedEventArgs _)
{
    var subdoors = Door.List.Where(d => CheckpointDoor.List.SelectMany(c => c.SubDoors).Contains(d));
    Log.Debug($"subdoors count = {subdoors.Count()}");
}

Expected Behavior

The count will be 0.

Additional Information

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions