mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-02 03:00:29 +03:00
Fixed incorrect texture removal
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user