mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-25 22:17:59 +07:00
Better timed destroy with overlap
This commit is contained in:
parent
764b1c27bf
commit
d559cd2412
@ -328,7 +328,7 @@ public class Teams{
|
||||
}
|
||||
|
||||
for(var build : builds){
|
||||
if(build.within(x, y, range)){
|
||||
if(build.within(x, y, range) && !cores.contains(c -> c.within(x, y, range))){
|
||||
Time.run(Mathf.random(0f, 60f * 6f), build::kill);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user