Maaack / Godot-Game-Template

Godot template with a main menu, options menus, pause menu, credits, scene loader, extra tools, and an example game scene.
MIT License
283 stars 17 forks source link

LevelLoader still tries to load levels that are missing #81

Closed Maaack closed 1 month ago

Maaack commented 1 month ago

The LevelLoader may try to load an invalid level after:

This results in some confusing errors.

thefinaldegree commented 1 month ago

Ah, this might be what I just discovered a few moments ago.

How I replicated mine:

  1. Get a fresh copy of the template
  2. run the template, play the provided game scenes, progressing to the third game scene ("Level3")
  3. Open the in-game menu and make a change (or otherwise trigger a config write-out)
  4. Close the game, remove all game scenes from the scene array except "Level1" (no changes to files/directory)
  5. run game again, click 'play'