cmann1 / dustmod-issues

Dustmod issue tracker
0 stars 0 forks source link

Script sprite rebuild unloads sprites that may still be referenced in save states #7

Open msg555 opened 3 years ago

msg555 commented 3 years ago

Right now there is a single global SpriteManager that holds

When a map with scripts is reloaded it will trigger the "scripts" sprite set to be rebuilt which will unload all sprites it contains. If there is a save state that has script sprites then it will likely fail once resumed when it attempts to render or access metadata about a sprite.

msg555 commented 3 years ago

I'm removing this from the milestons and just putting it in the backlog as this is a big project with minor payoff