Various bugfixes

This commit is contained in:
Anuken
2018-10-10 08:39:25 -04:00
parent 54488564f3
commit 87c8293c78
5 changed files with 16 additions and 7 deletions
@@ -100,7 +100,7 @@ public abstract class Unit extends DestructibleEntity implements SaveTrait, Targ
@Override
public boolean collides(SolidTrait other){
if(isDead()) return true;
if(isDead()) return false;
if(other instanceof DamageTrait){
return other instanceof TeamTrait && state.teams.areEnemies((((TeamTrait) other).getTeam()), team);