Bugfixes / Renamed biomatter / Cleaned up conveyor sprites

This commit is contained in:
Anuken
2019-02-25 22:26:51 -05:00
parent 9c179e559b
commit 0a9b78f013
65 changed files with 1299 additions and 1291 deletions

View File

@@ -687,7 +687,7 @@ public class Player extends Unit implements BuilderTrait, ShooterTrait{
if(target == null){
isShooting = false;
if(Core.settings.getBool("autotarget")){
target = Units.getClosestTarget(team, x, y, getWeapon().bullet.range());
target = Units.getClosestTarget(team, x, y, getWeapon().bullet.range(), u -> u.getTeam() != Team.none);
if(mech.canHeal && target == null){
target = Geometry.findClosest(x, y, world.indexer.getDamaged(Team.blue));