about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--sandbox/005-sandbox.mu3
1 files changed, 3 insertions, 0 deletions
diff --git a/sandbox/005-sandbox.mu b/sandbox/005-sandbox.mu
index 2821f2db..31aa243d 100644
--- a/sandbox/005-sandbox.mu
+++ b/sandbox/005-sandbox.mu
@@ -347,6 +347,9 @@ recipe! restore-sandboxes env:address:shared:programming-environment-data -> env
     curr <- get-address **curr, next-sandbox:offset
     loop
   }
+  # update sandbox count
+  number-of-sandboxes:address:number <- get-address *env, number-of-sandboxes:offset
+  *number-of-sandboxes <- copy idx
 ]
 
 # print the fake sandbox screen to 'screen' with appropriate delimiters