diff --git a/lib/Lacuna/RPC/Building/SpacePort.pm b/lib/Lacuna/RPC/Building/SpacePort.pm index 2a92fb5e..35e56f89 100644 --- a/lib/Lacuna/RPC/Building/SpacePort.pm +++ b/lib/Lacuna/RPC/Building/SpacePort.pm @@ -373,8 +373,8 @@ sub view_foreign_ships { my @fleet; my $now = time; my $ships = $building->foreign_ships->search({}, {rows=>25, page=>$page_number, join => 'body' }); - my $see_ship_type = ($building->level * 450) * ( 100 / ($building->efficiency || 1)); - my $see_ship_path = ($building->level * 350) * ( 100 / ($building->efficiency || 1)); + my $see_ship_type = ($building->level * 350) * ( $building->efficiency / 100 ); + my $see_ship_path = ($building->level * 450) * ( $building->efficiency / 100 ); my @my_planets = $empire->planets->get_column('id')->all; while (my $ship = $ships->next) { if ($ship->date_available->epoch <= $now) {