diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-11 11:47:45 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-12 09:38:01 +0200 |
commit | d2855043c53bd4f84a4ca425947948fd31a93432 (patch) | |
tree | 4db9212544efe93fbd1ebadcd642af5607eb3879 /lib/evendoors/board.rb | |
parent | 1985e84383540100d797579f88c6d1ce072e1463 (diff) | |
download | edoors-ruby-d2855043c53bd4f84a4ca425947948fd31a93432.zip edoors-ruby-d2855043c53bd4f84a4ca425947948fd31a93432.tar.gz |
Particle relies on spin field to resolve src and dst not parent
Diffstat (limited to 'lib/evendoors/board.rb')
-rw-r--r-- | lib/evendoors/board.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/evendoors/board.rb b/lib/evendoors/board.rb index ba05789..90b6f00 100644 --- a/lib/evendoors/board.rb +++ b/lib/evendoors/board.rb @@ -40,7 +40,7 @@ module EvenDoors raise EvenDoors::Exception.new "JSON #{o['kls']} != #{self.name}" if o['kls'] != self.name board = self.new o['name'], o['parent'] o['postponed'].each do |link_value,particle| - board.process_p EvenDoors::Particle.json_create(particle.merge!('parent'=>board)) + board.process_p EvenDoors::Particle.json_create(particle.merge!('spin'=>board.spin)) end board end |