Skip to content

Core: Fix loading of worlds installed in launcher - #6319

Open
duckboycool wants to merge 1 commit into
ArchipelagoMW:mainfrom
duckboycool:launcher_install_fix_load
Open

Core: Fix loading of worlds installed in launcher#6319
duckboycool wants to merge 1 commit into
ArchipelagoMW:mainfrom
duckboycool:launcher_install_fix_load

Conversation

@duckboycool

Copy link
Copy Markdown
Collaborator

What is this fixing or adding?

Until 0.6.7, the installing a world in the launcher attempted to load it, meaning it could actually be used without launcher restart so long as it wasn't replacing an already loaded world. However, this has now broken (example: https://discord.com/channels/731205301247803413/1520174054278172844) due to the changes in loading from #5734, which the install component wasn't adapted for. (This also didn't really alert the user about a failed load, see #6292.)

This makes it so the worlds this way also get added to apworld_module_specs before loading. This seems to work fine, although I'm not positive if this is the preferred way of doing this.

How was this tested?

Loading worlds normally, including with APQuest as an .apworld rather than folder. Testing that generating templates after installing a world actually works now. I also made a frozen build and checked that things were working there as well.

If this makes graphical changes, please attach screenshots.

🚀🚫💥

@github-actions github-actions Bot added affects: core Issues/PRs that touch core and may need additional validation. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels Jul 7, 2026
@duckboycool duckboycool added the is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. label Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

affects: core Issues/PRs that touch core and may need additional validation. is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant