summaryrefslogtreecommitdiffstats
path: root/lib/evendoors/board.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/evendoors/board.rb')
-rw-r--r--lib/evendoors/board.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/evendoors/board.rb b/lib/evendoors/board.rb
index 110b43f..8442c97 100644
--- a/lib/evendoors/board.rb
+++ b/lib/evendoors/board.rb
@@ -9,7 +9,7 @@ module EvenDoors
def initialize n, p=nil
super n, p
@saved = nil
- @spots = {}
+ @postponed = {}
@parent.add_spot self if @parent
end
#
@@ -27,9 +27,9 @@ module EvenDoors
def process_p p
@viewer.receive_p p if @viewer
if p.action!=EvenDoors::ACT_ERROR
- p2 = @spots[p.link_value] ||= p
+ p2 = @postponed[p.link_value] ||= p
return if p2==p
- @spots.delete p.link_value
+ @postponed.delete p.link_value
p,p2 = p2,p if p.action==EvenDoors::ACT_FOLLOW
p.merge! p2
end