mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-04-02 12:20:53 -07:00
Merge branch 'master' of https://github.com/Anuken/Mindustry into rework-sectors
This commit is contained in:
commit
c71fee3fed
1 changed files with 2 additions and 0 deletions
|
|
@ -86,6 +86,7 @@ public class Units{
|
|||
|
||||
for(EntityGroup<? extends BaseUnit> g : unitGroups){
|
||||
g.forEach(u -> {
|
||||
if(u.isFlying()) return;
|
||||
u.getHitbox(rectGraphics);
|
||||
if(rectGraphics.overlaps(rect)){
|
||||
boolResultGraphics = true;
|
||||
|
|
@ -95,6 +96,7 @@ public class Units{
|
|||
}
|
||||
|
||||
playerGroup.forEach(u -> {
|
||||
if(u.isFlying()) return;
|
||||
u.getHitbox(rectGraphics);
|
||||
if(rectGraphics.overlaps(rect)){
|
||||
boolResultGraphics = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue