lib/metacosm/simulation.rb in metacosm-0.2.8 vs lib/metacosm/simulation.rb in metacosm-0.2.9
- old
+ new
@@ -61,9 +61,10 @@
@current ||= new
end
def clear!
@events = []
+ @command_queue.clear
end
protected
def handler_for(command)
@handlers ||= {}