This commit is contained in:
Anuken 2021-12-07 14:08:15 -05:00
parent c51e755f71
commit 600954bf4b
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,4 @@
package mindustry.world.blocks.defense;
public class DirectionalForceProjector{
}

View File

@ -171,6 +171,10 @@ public class ForceProjector extends Block{
hit -= 1f / 5f * Time.delta;
}
deflectBullets();
}
public void deflectBullets(){
float realRadius = realRadius();
if(realRadius > 0 && !broken){