From 138bbdb1c9d18408ae047f5d9f991a57ccab93b0 Mon Sep 17 00:00:00 2001 From: Anuken Date: Thu, 28 Mar 2024 10:01:20 -0400 Subject: [PATCH] Dispose item pixmaps --- core/src/mindustry/type/Item.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/mindustry/type/Item.java b/core/src/mindustry/type/Item.java index f451b5f1a3..1c59b0d07a 100644 --- a/core/src/mindustry/type/Item.java +++ b/core/src/mindustry/type/Item.java @@ -146,6 +146,7 @@ public class Item extends UnlockableContent implements Senseable{ Pixmap res = Pixmaps.blend(pixmaps[i], pixmaps[(i + 1) % frames], f); packer.add(PageType.main, name + "-t" + index, res); + res.dispose(); } } }