Skip to content

Commit 3eeee23

Browse files
Logic when checking whether station has a launch dock was incorrect
1 parent 8d82f67 commit 3eeee23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Core/Entities/StationEntity.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1784,7 +1784,7 @@ - (ShipEntity *) launchMiner
17841784
// Exposed to AI
17851785
- (ShipEntity *) launchPirateShip
17861786
{
1787-
if ([self hasLaunchDock])
1787+
if (![self hasLaunchDock])
17881788
{
17891789
OOLog(@"station.launchShip.impossible", @"Cancelled launch for a pirate ship, as the %@ has no launch docks.",
17901790
[self displayName]);

0 commit comments

Comments
 (0)