Skip to content

Commit

Permalink
Starmap now working
Browse files Browse the repository at this point in the history
  • Loading branch information
icydee committed Aug 28, 2014
1 parent 8b1e68b commit 935dcf5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Lacuna/DB/Result/Map/StarLite.pm
Expand Up @@ -81,7 +81,8 @@ __PACKAGE__->result_source_instance->view_definition(q[
]);
# bind variables are alliance_id,empire_id,left,right,bottom,top

__PACKAGE__->belongs_to('alliance', 'Lacuna::DB::Result::Map::Body', 'alliance_id');
__PACKAGE__->belongs_to('alliance', 'Lacuna::DB::Result::Alliance', 'alliance_id');
__PACKAGE__->belongs_to('empire', 'Lacuna::DB::Result::Empire', 'empire_id');

# get the planet image name
# NOTE: This is not good, since image name generation is now duplicated.
Expand Down

0 comments on commit 935dcf5

Please sign in to comment.