From b012058551c07bd3eee049702fd8c1cfc0f4b38f Mon Sep 17 00:00:00 2001 From: Mark Lemming Date: Mon, 30 Dec 2013 20:52:40 -0700 Subject: [PATCH] Stop Saben from scowing ISO --- bin/saben/send_attack.pl | 1 + lib/Lacuna.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/saben/send_attack.pl b/bin/saben/send_attack.pl index 0a95bee1..09e57319 100644 --- a/bin/saben/send_attack.pl +++ b/bin/saben/send_attack.pl @@ -49,6 +49,7 @@ while (my $attacking_colony = $colonies->next) { out('Finding target body to attack...'); my $targets = $db->resultset('Lacuna::DB::Result::Map::Body')->search({ empire_id => { '>' => 1 }, + is_isolationist => 0, university_level => { '>=' => 16 }, zone => $attacking_colony->zone, }, diff --git a/lib/Lacuna.pm b/lib/Lacuna.pm index 06d1a98d..8bb4c901 100644 --- a/lib/Lacuna.pm +++ b/lib/Lacuna.pm @@ -7,7 +7,7 @@ use Config::JSON; useall __PACKAGE__; -our $VERSION = 3.0898; +our $VERSION = 3.0899; 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}); -- 2.51.2