mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-20 20:57:59 +07:00
Fixed #5710
This commit is contained in:
@ -133,7 +133,11 @@ public class EnergyFieldAbility extends Ability{
|
||||
}
|
||||
}else{
|
||||
anyNearby = true;
|
||||
other.damage(damage);
|
||||
if(other instanceof Building b){
|
||||
b.damage(unit.team, damage);
|
||||
}else{
|
||||
other.damage(damage);
|
||||
}
|
||||
if(other instanceof Statusc s){
|
||||
s.apply(status, statusDuration);
|
||||
}
|
||||
|
Reference in New Issue
Block a user