From 22cf4311700fe25164cfac62533c138806ec33f9 Mon Sep 17 00:00:00 2001 From: Anuken Date: Wed, 16 Sep 2026 10:17:59 -0400 Subject: [PATCH] Fixed incorrect texture removal --- core/src/mindustry/mod/DataImagePacker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/mod/DataImagePacker.java b/core/src/mindustry/mod/DataImagePacker.java index 52a70a76d7..551b2c9b88 100644 --- a/core/src/mindustry/mod/DataImagePacker.java +++ b/core/src/mindustry/mod/DataImagePacker.java @@ -181,7 +181,7 @@ public class DataImagePacker{ public void unload(){ if(patchAtlas != null){ for(var texture : patchAtlas.getTextures()){ - if(texture != null) patchAtlas.getTextures().remove(texture); + if(texture != null) Core.atlas.getTextures().remove(texture); } for(var region : patchAtlas.getRegions()){ if(region != null){