summaryrefslogtreecommitdiffstats
path: root/lib/colonial_twilight/spaces.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/colonial_twilight/spaces.rb')
-rw-r--r--lib/colonial_twilight/spaces.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/colonial_twilight/spaces.rb b/lib/colonial_twilight/spaces.rb
index 909e9db..6eaf3c7 100644
--- a/lib/colonial_twilight/spaces.rb
+++ b/lib/colonial_twilight/spaces.rb
@@ -147,9 +147,9 @@ module ColonialTwilight
end
def shift_terror(num = 1)
- @terror += num
+ raise "terror cant be negative" if @terror.zero? and num.negative?
- raise "terror cant be negative" if @terror.negative?
+ @terror += num
end
def resettled?