From 4a42da8ef49670b73ebb943289fca3634aeffa7d Mon Sep 17 00:00:00 2001 From: lemming552 Date: Tue, 19 Jan 2016 09:51:05 -0700 Subject: [PATCH] Cruft removal --- lib/Lacuna/RPC/Building/BlackHoleGenerator.pm | 6 +++--- var/www/public/changes.txt | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/Lacuna/RPC/Building/BlackHoleGenerator.pm b/lib/Lacuna/RPC/Building/BlackHoleGenerator.pm index 003ae43c..7f44501a 100644 --- a/lib/Lacuna/RPC/Building/BlackHoleGenerator.pm +++ b/lib/Lacuna/RPC/Building/BlackHoleGenerator.pm @@ -1591,7 +1591,7 @@ sub bhg_make_asteroid { my @fissures = $body->get_buildings_of_class('Lacuna::DB::Result::Building::Permanent::Fissure'); my @to_demolish = @{$body->building_cache}; $body->delete_buildings(\@to_demolish); - my $new_size = int($building->effective_level/5); #/ + my $new_size = int($building->effective_level/5); $new_size = 10 if $new_size > 10; $body->update({ class => 'Lacuna::DB::Result::Map::Body::Asteroid::A'.randint(1,Lacuna::DB::Result::Map::Body->asteroid_types), @@ -1806,7 +1806,7 @@ sub bhg_random_fissure { $body->empire->add_medal('Fissure'); $return->{message} = "Fissure formed"; my $minus_x = 0 - $target->x; - my $minus_y = 0 - $target->y;;; + my $minus_y = 0 - $target->y; my $alert = Lacuna->db->resultset('Map::Body')->search({ -and => [ {empire_id => { '!=' => 'Null' }} @@ -1835,7 +1835,7 @@ sub bhg_random_fissure { $to_alert->empire->send_predefined_message( tags => ['Fissure', 'Alert'], filename => 'fissure_alert_spawn.txt', - params => [$target->x, $target->y, $target->name],, + params => [$target->x, $target->y, $target->name], ); } } diff --git a/var/www/public/changes.txt b/var/www/public/changes.txt index a5c328c8..4abf7d8f 100644 --- a/var/www/public/changes.txt +++ b/var/www/public/changes.txt @@ -19,6 +19,7 @@ - Add: Intel Min can rename all spies at once (new API). - Add: Incoming view to police station. - Mod: Remove RPC total from options panel, put in iso status. + - Mod: Moved explanation texts from root to info directory. 3.0917: - Fix: Recalc stats when building 1+x plans. -- 2.51.2