Skip to content

Empty sequence error #107

Description

@Bonjemus

public static Room? GetRandomRoom(RoomType type)

Just return null or something if the sequence is empty, instead of throwing an error (which disables schematics during generation if spawnlocker causes this error). Also, why ToList() ???

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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