From 3ddcf5e232476506bf21f700de0130f87451467f Mon Sep 17 00:00:00 2001 From: JT Smith Date: Sat, 1 Jan 2011 23:09:38 -0600 Subject: [PATCH] fixed quake message --- lib/Lacuna/Role/Ship/Arrive/DeploySmolderingCrater.pm | 2 +- var/www/public/changes.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Lacuna/Role/Ship/Arrive/DeploySmolderingCrater.pm b/lib/Lacuna/Role/Ship/Arrive/DeploySmolderingCrater.pm index 4de69487..e65d6ac4 100644 --- a/lib/Lacuna/Role/Ship/Arrive/DeploySmolderingCrater.pm +++ b/lib/Lacuna/Role/Ship/Arrive/DeploySmolderingCrater.pm @@ -38,7 +38,7 @@ after handle_arrival_procedures => sub { filename => 'thud_hit_us.txt', params => [$self->body->empire->id, $self->body->empire->name, $body_attacked->id, $body_attacked->name], ); - $body_attacked->add_news(70, sprintf("A quake measuring %.1f on the seismic magnitude scale just struck %s.",rand(10))); + $body_attacked->add_news(70, sprintf("A quake measuring %.1f on the seismic magnitude scale just struck %s.",rand(10), $body_attacked->name)); # all pow $self->delete; diff --git a/var/www/public/changes.txt b/var/www/public/changes.txt index 08c39b96..487835a8 100644 --- a/var/www/public/changes.txt +++ b/var/www/public/changes.txt @@ -17,6 +17,7 @@ - Fixed a crash bug with fleet movement missions. - Fixed a formatting problem in the "Enemy Captured" email. - Fixed a formatting problem on plans with extra build levels. + - Fixed quake message for Thuds. 2.4102 - Fixed bleeders and thuds being added to the normal build queue on striking ground. -- 2.51.2