Fixed sector gameover ghost bug
This commit is contained in:
@@ -99,6 +99,17 @@ allprojects{
|
||||
return project.ext.mainClassName.substring(0, project.ext.mainClassName.indexOf("desktop") - 1)
|
||||
}
|
||||
|
||||
findSdkDir = {
|
||||
//null because IntelliJ doesn't get env variables
|
||||
def v = System.getenv("ANDROID_HOME")
|
||||
if(v != null) return v
|
||||
//rootDir is null here, amazing. brilliant.
|
||||
def file = new File("local.properties")
|
||||
if(!file.exists()) file = new File("../local.properties")
|
||||
def props = new Properties().with{p -> p.load(file.newReader()); return p }
|
||||
return props.get("sdk.dir")
|
||||
}
|
||||
|
||||
generateLocales = {
|
||||
def output = 'en\n'
|
||||
def bundles = new File(project(':core').projectDir, 'assets/bundles/')
|
||||
|
||||
Reference in New Issue
Block a user