summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/evendoors/board.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/evendoors/board.rb b/lib/evendoors/board.rb
index 90b6f00..a81b31a 100644
--- a/lib/evendoors/board.rb
+++ b/lib/evendoors/board.rb
@@ -33,7 +33,7 @@ module EvenDoors
'kls' => self.class.name,
'name' => @name,
'postponed' => @postponed
- }.to_json *a
+ }.merge(hibernate!).to_json *a
end
#
def self.json_create o
@@ -42,6 +42,7 @@ module EvenDoors
o['postponed'].each do |link_value,particle|
board.process_p EvenDoors::Particle.json_create(particle.merge!('spin'=>board.spin))
end
+ board.resume! o
board
end
#