From 0d3d0fbe3a33e023ed9fafb30dc06d5fcee1c373 Mon Sep 17 00:00:00 2001 From: Mark Lemming Date: Fri, 2 Aug 2013 19:53:37 -0600 Subject: [PATCH] Fixed checking fissures. --- lib/Lacuna/RPC/Building/BlackHoleGenerator.pm | 2 +- var/www/public/changes.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Lacuna/RPC/Building/BlackHoleGenerator.pm b/lib/Lacuna/RPC/Building/BlackHoleGenerator.pm index 77928e6b..f12ed782 100644 --- a/lib/Lacuna/RPC/Building/BlackHoleGenerator.pm +++ b/lib/Lacuna/RPC/Building/BlackHoleGenerator.pm @@ -672,7 +672,7 @@ sub generate_singularity { $confess = sprintf("%s can not be moved without tearing apart from the fissure on it.", $body->name); $allowed = 0; } - elsif ($target->get_buildings_of_class('Lacuna::DB::Result::Building::Permanent::Fissure')) { + elsif ($btype eq 'habitable planet' and $target->get_buildings_of_class('Lacuna::DB::Result::Building::Permanent::Fissure')) { $confess = sprintf("%s can not be moved without tearing apart from the fissure on it.", $target->name); $allowed = 0; } diff --git a/var/www/public/changes.txt b/var/www/public/changes.txt index c4de63db..b384c171 100644 --- a/var/www/public/changes.txt +++ b/var/www/public/changes.txt @@ -1,7 +1,7 @@ 3.0893: - Fix: Closed starter zone loophole. - Mod: Citadel now repels planetary debris. - - Mod: Fissures are too unstable to move. + - Mod: Fissures cause instability, preventing planets from moving. - Mod: Fissures in starter zones don't cause damage. 3.0892: -- 2.51.2