🆙 Some minor mem tweaks

This commit is contained in:
duckietm
2026-03-31 16:03:21 +02:00
parent 44cb722f54
commit fd74fd323b
7 changed files with 198 additions and 173 deletions
@@ -248,6 +248,7 @@ export class BadgeImageManager
if(!renderedLayers) return false;
const texture = TextureUtils.generateTexture(container);
container.destroy({ children: true });
GetAssetManager().setTexture(groupBadge.code, texture);
GetEventDispatcher().dispatchEvent(new BadgeImageReadyEvent(groupBadge.code, texture));