mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-10 23:28:52 +07:00
Merge pull request #3028 from GlennFolker/master
allow mods to easily load icon region
This commit is contained in:
commit
a0f55861fe
@ -74,9 +74,11 @@ public abstract class UnlockableContent extends MappableContent{
|
||||
cicons[icon.ordinal()] =
|
||||
Core.atlas.find(getContentType().name() + "-" + name + "-" + icon.name(),
|
||||
Core.atlas.find(getContentType().name() + "-" + name + "-full",
|
||||
Core.atlas.find(name + "-" + icon.name(),
|
||||
Core.atlas.find(name + "-full",
|
||||
Core.atlas.find(name,
|
||||
Core.atlas.find(getContentType().name() + "-" + name,
|
||||
Core.atlas.find(name + "1")))));
|
||||
Core.atlas.find(name + "1")))))));
|
||||
}
|
||||
return cicons[icon.ordinal()];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user