diff --git a/core/src/mindustry/graphics/MinimapRenderer.java b/core/src/mindustry/graphics/MinimapRenderer.java index a77face3f4..1a3b7dc7f8 100644 --- a/core/src/mindustry/graphics/MinimapRenderer.java +++ b/core/src/mindustry/graphics/MinimapRenderer.java @@ -144,6 +144,14 @@ public class MinimapRenderer{ public void update(Tile tile){ if(world.isGenerating() || !state.isGame()) return; + if(tile.build != null && tile.isCenter()){ + tile.getLinkedTiles(other -> { + if(!other.isCenter()){ + update(other); + } + }); + } + int color = colorFor(tile); pixmap.set(tile.x, pixmap.height - 1 - tile.y, color); diff --git a/core/src/mindustry/world/Tile.java b/core/src/mindustry/world/Tile.java index b231cd2079..d6c907cf2f 100644 --- a/core/src/mindustry/world/Tile.java +++ b/core/src/mindustry/world/Tile.java @@ -241,7 +241,6 @@ public class Tile implements Position, QuadTreeObject, Displayable{ //assign entity and type to blocks, so they act as proxies for this one other.build = entity; other.block = block; - } } } diff --git a/gradle.properties b/gradle.properties index 696bad812c..700fd1664b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,6 @@ org.gradle.daemon=true -org.gradle.jvmargs=-Xms256m -Xmx1024m --illegal-access=permit +#--illegal-access=permit +org.gradle.jvmargs=-Xms256m -Xmx1024m # Don't recompute annotations if sources haven't been changed kapt.incremental.apt = true # Multithreaded @@ -8,4 +9,4 @@ kapt.use.worker.api=true kapt.include.compile.classpath=false # I don't need to use the kotlin stdlib yet, so remove it to prevent extra bloat & method count issues kotlin.stdlib.default.dependency=false -archash=5a9d95001fc988df2681616ebc33152b9c88ea92 +archash=b8f52056240e6779d5b2c13b71235778ade8346c diff --git a/tools/build.gradle b/tools/build.gradle index 3a1141fb1f..a51ece9681 100644 --- a/tools/build.gradle +++ b/tools/build.gradle @@ -220,7 +220,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) } }