Skip to content

Commit

Permalink
fix: hasCargo check for transporter at target base
Browse files Browse the repository at this point in the history
  • Loading branch information
mindrunner committed Sep 30, 2024
1 parent ba8a348 commit 1303252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/basedbot/fsm/transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const transition = async (
if (isAtTargetBase) {
logger.info(`${fleetName} is at target base`)

if (hasEnoughAmmo && hasEnoughFuel && !hasCargo) {
if (!hasCargo) {
logger.info('Ready to go! Moving to home base')

return move(fleetInfo, homeBase, player, game, warpMode)
Expand Down

0 comments on commit 1303252

Please sign in to comment.