mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-01-19 18:14:44 +00:00
need to get rid of parenthesis for this method (#1178)
This commit is contained in:
parent
b43e7a6993
commit
4826e338c1
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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 _ => ()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue