Skip to content

Commit

Permalink
body, not asteroid.
Browse files Browse the repository at this point in the history
  • Loading branch information
lemming552 committed Oct 22, 2012
1 parent 66416bd commit 488b1e2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Lacuna/DB/Result/Spies.pm
Expand Up @@ -2515,13 +2515,13 @@ sub destroy_excavator {
$self->on_body->add_news(50,
'The %s excavator on %s exploded.',
$self->on_body->empire->name,
$asteroid->name);
$body->name);
return $self->empire->send_predefined_message(
tags => ['Intelligence'],
filename => 'we_disabled_an_excavator.txt',
params => [$asteroid->x,
$asteroid->y,
$asteroid->name,
params => [$body->x,
$body->y,
$body->name,
$self->on_body->empire->id,
$self->on_body->empire->name,
$self->format_from],
Expand Down

0 comments on commit 488b1e2

Please sign in to comment.