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 = {
getTurretTargets(
target.getInteractionSector(),
target.getInteractionSector,
target.Position.xy
).foreach { turret =>
turret.Actor ! AutomatedTurretBehavior.Reset

View file

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