mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-15 15:20:57 -08:00
Removed logic disable timer
This commit is contained in:
parent
f9dfe8cbcc
commit
30787e49ad
11 changed files with 58 additions and 31 deletions
|
|
@ -28,7 +28,8 @@ def enableAA = true
|
|||
//it's not compiled for other platforms so they don't get it
|
||||
def useFastAA = project.hasProperty("fastAA") || System.getProperty("user.name") == "anuke"
|
||||
|
||||
def antialias = { File file ->
|
||||
@groovy.transform.CompileStatic
|
||||
private def antialias(File file, boolean doAntialias, boolean useFastAA){
|
||||
if(!doAntialias) return
|
||||
|
||||
if(useFastAA){
|
||||
|
|
@ -168,7 +169,7 @@ task pack(dependsOn: [classes, configurations.runtimeClasspath]){
|
|||
if(file.isDirectory() || (file.toString().replace("\\", "/").contains("/ui/") && file.toString().startsWith("icon-")) || file.toString().contains(".9.png")) return
|
||||
|
||||
executor.submit{
|
||||
antialias(file.file)
|
||||
antialias(file.file, doAntialias, useFastAA)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue