summaryrefslogtreecommitdiffstats
path: root/lib/evendoors/room.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/evendoors/room.rb')
-rw-r--r--lib/evendoors/room.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/evendoors/room.rb b/lib/evendoors/room.rb
index be5325b..33a872e 100644
--- a/lib/evendoors/room.rb
+++ b/lib/evendoors/room.rb
@@ -43,10 +43,10 @@ module EvenDoors
#
def try_links p
puts " * try_links ..." if EvenDoors::Twirl.debug
- pending_link = nil
- apply_link = false
links = @links[p.src.name]
return false if links.nil?
+ pending_link = nil
+ apply_link = false
links.each do |link|
apply_link = link.cond_fields.nil? # unconditional link
p.set_link_fields link.cond_fields if not apply_link