mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
[Mobile] support preferred SPRITE_MANAICONS_FILE
This commit is contained in:
@@ -465,7 +465,7 @@ public enum FSkinImage implements FImage {
|
||||
}
|
||||
}
|
||||
if (texture != null) {
|
||||
if (sourceFile != SourceFile.ICONS) { //just return region for preferred file if not icons file
|
||||
if (sourceFile != SourceFile.ICONS && sourceFile != SourceFile.MANAICONS) { //just return region for preferred file if not icons file
|
||||
textureRegion = new TextureRegion(texture, x, y, w, h);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user