SnailHunter ADMIN
2026.08.06
Fixed. This turned out to be a one-character-class bug that broke EVERY cash special effect, not just Stormy Cloud - which matches 'it says it turns on but no effect appears'.
CashEffectSprite.show() guards against a race (you switch effects while the textures for the previous one are still loading) using a generation counter. It captured the token with `const gen = ++this.gen`, then called clear() - and clear() increments the SAME counter. So by the time the texture load finished and the code checked 'am I still the current request?', the token was always exactly one behind, the check always said no, and the function returned before ever creating the sprite.
The state that says the effect is ON is set separately, which is why the game reported it as enabled while nothing rendered.
The token is now captured after clear() instead of before. clear() keeps its increment - the map-change and death paths rely on it to cancel an in-flight load.
On the editor preview now; reaches the public build with the next publish. Worth re-testing a couple of different effects, not only Stormy Cloud, since all of them were affected.
CashEffectSprite.show() guards against a race (you switch effects while the textures for the previous one are still loading) using a generation counter. It captured the token with `const gen = ++this.gen`, then called clear() - and clear() increments the SAME counter. So by the time the texture load finished and the code checked 'am I still the current request?', the token was always exactly one behind, the check always said no, and the function returned before ever creating the sprite.
The state that says the effect is ON is set separately, which is why the game reported it as enabled while nothing rendered.
The token is now captured after clear() instead of before. clear() keeps its increment - the map-change and death paths rely on it to cancel an in-flight load.
On the editor preview now; reaches the public build with the next publish. Worth re-testing a couple of different effects, not only Stormy Cloud, since all of them were affected.








