Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
DivineThreepwood committed Mar 4, 2024
1 parent c87eee0 commit c1b2a71
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ class Agent(
false -> 3
},
) {

if (!useFuel()) {
return@performAction
}
Expand Down Expand Up @@ -390,7 +389,6 @@ class Agent(
fuel += fuelToSpend
value - fuelToSpend
}

}.also {
if (fuel > fuelVolume) {
kill()
Expand Down Expand Up @@ -646,7 +644,7 @@ class Agent(
direction.turnTo(position, teamAgent.position)
ap.getActionPoint(value * 2)
teamAgent.spendFuel(useFuel(value)).also {
// charge leftover back to origin
// charge leftover back to origin
leftover ->
spendFuel(leftover)
}
Expand Down

0 comments on commit c1b2a71

Please sign in to comment.