need to get rid of parenthesis for this method (#1178)

This commit is contained in:
Fate-JH 2024-03-03 00:40:50 -05:00 committed by GitHub
parent b43e7a6993
commit 4826e338c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ class InteractWithTurrets()
*/ */
def resetInteraction(target: InteractsWithZone): Unit = { def resetInteraction(target: InteractsWithZone): Unit = {
getTurretTargets( getTurretTargets(
target.getInteractionSector(), target.getInteractionSector,
target.Position.xy target.Position.xy
).foreach { turret => ).foreach { turret =>
turret.Actor ! AutomatedTurretBehavior.Reset turret.Actor ! AutomatedTurretBehavior.Reset

View file

@ -249,7 +249,7 @@ class VehicleControl(vehicle: Vehicle)
.orElse { .orElse {
case VehicleControl.RadiationTick => case VehicleControl.RadiationTick =>
vehicle.interaction().find { _.Type == RadiationInMountableInteraction } match { vehicle.interaction().find { _.Type == RadiationInMountableInteraction } match {
case Some(func) => func.interaction(vehicle.getInteractionSector(), vehicle) case Some(func) => func.interaction(vehicle.getInteractionSector, vehicle)
case _ => () case _ => ()
} }
case _ => () case _ => ()