Skip to content

Commit

Permalink
Cleanup & bullet bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuken committed Aug 4, 2021
1 parent dd738a0 commit aa80f06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions core/src/mindustry/entities/Puddles.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ public static void deposit(Tile tile, Tile source, Liquid liquid, float amount,
return;
}

if(tile.floor().solid){
return;
}
if(tile.floor().solid) return;

Puddle p = map.get(tile.pos());
if(p == null){
Expand Down
2 changes: 1 addition & 1 deletion core/src/mindustry/entities/comp/BulletComp.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void absorb(){
}

public boolean hasCollided(int id){
return collided.size != 0 && !collided.contains(id);
return collided.size != 0 && collided.contains(id);
}

@Replace
Expand Down

0 comments on commit aa80f06

Please sign in to comment.