about summary refs log tree commit diff stats
path: root/010vm.cc
diff options
context:
space:
mode:
Diffstat (limited to '010vm.cc')
-rw-r--r--010vm.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/010vm.cc b/010vm.cc
index 4c8298d4..21f81d20 100644
--- a/010vm.cc
+++ b/010vm.cc
@@ -243,6 +243,10 @@ void save_snapshots() {
 void restore_snapshots() {
   Recipe = Recipe_snapshot;
   Recipe_ordinal = Recipe_ordinal_snapshot;
+  restore_non_recipe_snapshots();
+}
+// when running sandboxes in the edit/ app we'll want to restore everything except recipes defined in the app
+void restore_non_recipe_snapshots() {
   Type_ordinal = Type_ordinal_snapshot;
   Type = Type_snapshot;
   // End restore_snapshots