Skip to content

Conversation

@sovdeeth
Copy link
Member

@sovdeeth sovdeeth commented Jul 4, 2025

Problem

FFS has a special save method that just pulls all variables and saves them on shutdown, bypassing the normal methods of variable saving. This is poor design but fixing it is out of scope for this pr.

Solution

Adds checks for ephemeral vars in the FFS save treemap method.

Testing Completed

Manual testing

Supporting Information


Completes: #8004
Related: none

@sovdeeth sovdeeth added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Jul 4, 2025
@sovdeeth sovdeeth requested review from a team as code owners July 4, 2025 17:32
@sovdeeth sovdeeth added the variables Related to variables and/or storing them. label Jul 4, 2025
@sovdeeth sovdeeth requested review from TheMug06 and UnderscoreTud and removed request for a team July 4, 2025 17:32
@sovdeeth sovdeeth linked an issue Jul 4, 2025 that may be closed by this pull request
1 task
@sovdeeth sovdeeth added the needs reviews A PR that needs additional reviews label Jul 4, 2025
@github-project-automation github-project-automation bot moved this to Awaiting Merge in 2.12 Releases Jul 4, 2025
@skriptlang-automation skriptlang-automation bot added feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. and removed needs reviews A PR that needs additional reviews labels Jul 4, 2025
@sovdeeth sovdeeth merged commit d080458 into SkriptLang:dev/feature Jul 4, 2025
5 checks passed
@github-project-automation github-project-automation bot moved this from Awaiting Merge to Done in 2.12 Releases Jul 4, 2025
@skriptlang-automation skriptlang-automation bot added completed The issue has been fully resolved and the change will be in the next Skript update. and removed feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. labels Jul 4, 2025
Burbulinis pushed a commit to Burbulinis/Skript that referenced this pull request Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. completed The issue has been fully resolved and the change will be in the next Skript update. variables Related to variables and/or storing them.

Projects

Status: Done - Released

Development

Successfully merging this pull request may close these issues.

Ephemeral variables are persisting after server restart

5 participants