WIP bullet shotgun for T4 tank
This commit is contained in:
@@ -85,7 +85,7 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
||||
transient float efficiency;
|
||||
/** Same as efficiency, but for optional consumers only. */
|
||||
transient float optionalEfficiency;
|
||||
/** The efficiency this block would have if consValid() / productionValid() returned true. */
|
||||
/** The efficiency this block *would* have if shouldConsume() returned true. */
|
||||
transient float potentialEfficiency;
|
||||
|
||||
transient float healSuppressionTime = -1f;
|
||||
|
||||
@@ -187,7 +187,6 @@ abstract class BulletComp implements Timedc, Damagec, Hitboxc, Teamc, Posc, Draw
|
||||
type.collideFloor && (tile == null || tile.floor().hasSurface() || tile.block() != Blocks.air) ||
|
||||
type.collideTerrain && tile != null && tile.block() instanceof StaticWall
|
||||
){
|
||||
type.despawned(self());
|
||||
remove();
|
||||
hit = true;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user