Skip to content

Add CLEAR_ASSET_CACHE_ON_STATE_SWITCH - #1083

Open
HEIHUAa wants to merge 2 commits into
CodenameCrew:internal-mergefrom
HEIHUAa:CLEAR_ASSET_CACHE_ON_STATE_SWITCH
Open

Add CLEAR_ASSET_CACHE_ON_STATE_SWITCH#1083
HEIHUAa wants to merge 2 commits into
CodenameCrew:internal-mergefrom
HEIHUAa:CLEAR_ASSET_CACHE_ON_STATE_SWITCH

Conversation

@HEIHUAa

@HEIHUAa HEIHUAa commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Since directly modifying the State reset might not be appropriate last time, I've changed it to add a new parameter CLEAR_ASSET_CACHE_ON_STATE_SWITCH in Flags to control whether to clear all caches when switching States. During mod development, it is necessary to update assets in real time.

Comment thread source/funkin/backend/system/modules/FunkinCache.hx Outdated
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