mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-21 01:37:13 +07:00
Update RegenProjector.java (#8768)
This commit is contained in:
parent
f01df70d3f
commit
8c7523b3b3
@ -5,7 +5,6 @@ import arc.graphics.g2d.*;
|
||||
import arc.math.*;
|
||||
import arc.struct.*;
|
||||
import arc.util.*;
|
||||
import mindustry.*;
|
||||
import mindustry.content.*;
|
||||
import mindustry.entities.*;
|
||||
import mindustry.entities.units.*;
|
||||
@ -55,9 +54,11 @@ public class RegenProjector extends Block{
|
||||
|
||||
x *= tilesize;
|
||||
y *= tilesize;
|
||||
x += offset;
|
||||
y += offset;
|
||||
|
||||
Drawf.dashSquare(baseColor, x, y, range * tilesize);
|
||||
indexer.eachBlock(Vars.player.team(), Tmp.r1.setCentered(x, y, range * tilesize), b -> true, t -> {
|
||||
indexer.eachBlock(player.team(), Tmp.r1.setCentered(x, y, range * tilesize), b -> true, t -> {
|
||||
Drawf.selected(t, Tmp.c1.set(baseColor).a(Mathf.absin(4f, 1f)));
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user