Permalink
Browse files

Name from missions was not being assigned.

  • Loading branch information...
1 parent e1cd278 commit 6e92f2d1a035923915ebe9b2aaa0f2e5c677d24f @lemming552 lemming552 committed Mar 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Lacuna/DB/Result/Mission.pm
@@ -127,7 +127,7 @@ sub add_rewards {
foreach my $ship (@{$rewards->{ships}}) {
$body->ships->new({
type => $ship->{type},
- name => $ship->{type},
+ name => $ship->{name},
speed => $ship->{speed} || 0,
combat => $ship->{combat} || 0,
stealth => $ship->{stealth} || 0,

0 comments on commit 6e92f2d

Please sign in to comment.