mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-06 02:40:23 -08:00
Mod bugfixes
This commit is contained in:
parent
5d1af6fb76
commit
c94e7aa031
2 changed files with 3 additions and 1 deletions
|
|
@ -100,6 +100,8 @@ android{
|
|||
all{
|
||||
minifyEnabled = true
|
||||
shrinkResources = true
|
||||
//this is the ONLY WAY I could find to force r8 to keep its filthy hands off of my default interfaces.
|
||||
//may have undesirable side effects
|
||||
debuggable = true
|
||||
proguardFiles("proguard-rules.pro")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -303,7 +303,7 @@ public class Mods implements Loadable{
|
|||
private PageType getPage(Fi file){
|
||||
String path = file.path();
|
||||
return
|
||||
path.contains("sprites/environment") ? PageType.environment :
|
||||
path.contains("sprites/blocks/environment") ? PageType.environment :
|
||||
path.contains("sprites/editor") ? PageType.editor :
|
||||
path.contains("sprites/rubble") ? PageType.editor :
|
||||
path.contains("sprites/ui") ? PageType.ui :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue