From 48a1e09133d352903169af2f37c7d3afeabfe6e4 Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Fri, 21 Dec 2012 11:12:31 -0500 Subject: [PATCH] Pass in state to LCP on reset --- common/lib/xmodule/xmodule/capa_module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/capa_module.py b/common/lib/xmodule/xmodule/capa_module.py index 5ad2a8bffa..4ee648b241 100644 --- a/common/lib/xmodule/xmodule/capa_module.py +++ b/common/lib/xmodule/xmodule/capa_module.py @@ -677,7 +677,7 @@ class CapaModule(XModule): self.lcp.seed = None self.set_state_from_lcp() - self.lcp = self.new_lcp() + self.lcp = self.new_lcp(self.get_state_for_lcp()) event_info['new_state'] = self.lcp.get_state() self.system.track_function('reset_problem', event_info)