summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/evendoors/room.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/evendoors/room.rb b/lib/evendoors/room.rb
index 29e3b75..2a38ac9 100644
--- a/lib/evendoors/room.rb
+++ b/lib/evendoors/room.rb
@@ -37,6 +37,10 @@ module EvenDoors
@spots.values.each do |spot| spot.stop! if spot.respond_to? :stop! end
end
#
+ def space
+ ( @parent.nil? ? self : @parent.space )
+ end
+ #
def try_links p
puts " * try_links ..." if EvenDoors::Twirl.debug
pending_link = nil