summaryrefslogtreecommitdiffstats
path: root/lib/edoors/room.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-06-27 17:18:15 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-06-27 17:18:15 +0200
commit675eec2cac3585c6d23da79540d64dfb3d2fbe68 (patch)
tree8aac9e816b197a01e0a6c7b288196e5f7ee86222 /lib/edoors/room.rb
parent1d70922b515eb58eb5b312db86142b639b2b2485 (diff)
downloadedoors-ruby-675eec2cac3585c6d23da79540d64dfb3d2fbe68.zip
edoors-ruby-675eec2cac3585c6d23da79540d64dfb3d2fbe68.tar.gz
Room: fix _try_links, add specs
Diffstat (limited to 'lib/edoors/room.rb')
-rw-r--r--lib/edoors/room.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/edoors/room.rb b/lib/edoors/room.rb
index decdb83..46eb6b4 100644
--- a/lib/edoors/room.rb
+++ b/lib/edoors/room.rb
@@ -156,7 +156,7 @@ module Edoors
if pending_link
p2 = @spin.require_p p.class
p2.clone_data p
- p2.apply_link! link
+ p2.apply_link! pending_link
send_p p2
end
pending_link = link