Skip to content

fix: Prevent autoload order changing on project startup#550

Merged
elementbound merged 3 commits intofoxssake:mainfrom
aagrieve:fix/autoload-reordering
Jan 10, 2026
Merged

fix: Prevent autoload order changing on project startup#550
elementbound merged 3 commits intofoxssake:mainfrom
aagrieve:fix/autoload-reordering

Conversation

@aagrieve
Copy link
Contributor

@aagrieve aagrieve commented Jan 9, 2026

Problem

Autoloads is reordering on project startup and reload, which causes the project to launch with unsaved changes.

Cause

The plugin adds autoloads unconditionally in _enter_tree() in both netfox.gd and netfox-extras.gd

Solution

Added a check for each autoload before adding when entering the tree. When the autoloads are already configured, no changes are made.

Verification

  • Reloaded the project multiple times without autoload order changing
  • Restarted the editor multiple times without autoload order changing

@elementbound elementbound changed the title fix: prevent autoload order changing on project startup fix: Prevent autoload order changing on project startup Jan 10, 2026
@elementbound elementbound merged commit 5be732a into foxssake:main Jan 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants