diff options
Diffstat (limited to 'lib/evendoors/board.rb')
-rw-r--r-- | lib/evendoors/board.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/evendoors/board.rb b/lib/evendoors/board.rb index bc74721..110b43f 100644 --- a/lib/evendoors/board.rb +++ b/lib/evendoors/board.rb @@ -29,6 +29,7 @@ module EvenDoors if p.action!=EvenDoors::ACT_ERROR p2 = @spots[p.link_value] ||= p return if p2==p + @spots.delete p.link_value p,p2 = p2,p if p.action==EvenDoors::ACT_FOLLOW p.merge! p2 end |