Skip to content

[MISC] Autocubemap crashes when not in a level #296

@Blixibon

Description

@Blixibon

Describe the bug

The autocubemap utility crashes the game when a map is not loaded.

Steps to reproduce

Steps to reproduce the behavior:

  1. Open the console with no map loaded.
  2. Type autocubemap_start into the console.
  3. See error

Expected behavior

If there is a list of maps currently loaded, the game should load the first map. If not, a warning message should appear that there is no map to build cubemaps for.

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