Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
alaingilbert committed Aug 21, 2022
1 parent 19cca96 commit 8a82b10
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/wrapper/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ import (

// GetFleetSpeedForMission ...
func GetFleetSpeedForMission(serverData ServerData, missionID ogame.MissionID) int64 {
if missionID == ogame.Attack || missionID == ogame.GroupedAttack || missionID == ogame.Destroy || missionID == ogame.MissileAttack || missionID == ogame.RecycleDebrisField {
if missionID == ogame.Attack ||
missionID == ogame.GroupedAttack ||
missionID == ogame.Destroy ||
missionID == ogame.MissileAttack ||
missionID == ogame.RecycleDebrisField {
return serverData.SpeedFleetWar
}
return serverData.SpeedFleetPeaceful
Expand Down

0 comments on commit 8a82b10

Please sign in to comment.