From 9e0be0ba45bb91cc4258e3857632a1dedf8c204a Mon Sep 17 00:00:00 2001 From: Mark Lemming Date: Sun, 6 Jan 2013 20:42:49 -0700 Subject: [PATCH] Sealer doesn't need to send two emails. --- lib/Lacuna.pm | 2 +- lib/Lacuna/Role/Ship/Arrive/SealFissure.pm | 1 + var/www/public/changes.txt | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/Lacuna.pm b/lib/Lacuna.pm index a07f1ca0..2eb3fd1f 100644 --- a/lib/Lacuna.pm +++ b/lib/Lacuna.pm @@ -7,7 +7,7 @@ use Config::JSON; useall __PACKAGE__; -our $VERSION = 3.0877; +our $VERSION = 3.0878; my $config = Config::JSON->new('/data/Lacuna-Server/etc/lacuna.conf'); my $db = Lacuna::DB->connect($config->get('db/dsn'),$config->get('db/username'),$config->get('db/password'), { mysql_enable_utf8 => 1}); diff --git a/lib/Lacuna/Role/Ship/Arrive/SealFissure.pm b/lib/Lacuna/Role/Ship/Arrive/SealFissure.pm index e23e1bd6..aa20f961 100644 --- a/lib/Lacuna/Role/Ship/Arrive/SealFissure.pm +++ b/lib/Lacuna/Role/Ship/Arrive/SealFissure.pm @@ -14,6 +14,7 @@ after handle_arrival_procedures => sub { # we're coming home if ($self->direction eq 'in') { $self->unload($self->body); + return; } # Turn around if occupied diff --git a/var/www/public/changes.txt b/var/www/public/changes.txt index 1ac41f3b..a1161d05 100644 --- a/var/www/public/changes.txt +++ b/var/www/public/changes.txt @@ -1,3 +1,6 @@ +3.0878: + - Fix: Fissure Sealers were sending extra email on home arrival. + 3.0877: - Fix: Shipyard,Intelligence,ThemePark work time now correctly updated - Mod: When a Fissure levels up, owning empire is warned. -- 2.51.2