From be05aeb6eca04ae6c237b97533f48b29034d09f9 Mon Sep 17 00:00:00 2001 From: Darin McBride Date: Thu, 9 Oct 2014 15:57:18 -0600 Subject: [PATCH] Pods not being sendable when they should. --- lib/Lacuna/Role/Ship/Send/LoadSupplyPod.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Lacuna/Role/Ship/Send/LoadSupplyPod.pm b/lib/Lacuna/Role/Ship/Send/LoadSupplyPod.pm index 2644ec1a..5517e7c6 100644 --- a/lib/Lacuna/Role/Ship/Send/LoadSupplyPod.pm +++ b/lib/Lacuna/Role/Ship/Send/LoadSupplyPod.pm @@ -85,7 +85,7 @@ after send => sub { after can_send_to_target => sub { my ($self, $target) = @_; confess [1010, 'Cannot send another supply pod so soon after sending previous supply pod.'] - if $self->body->get_a_building("PlanetaryCommand")->can_send_pod; + unless $self->body->get_a_building("PlanetaryCommand")->can_send_pod; }; 1; -- 2.51.2