about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-05-17 21:44:24 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-05-17 21:44:24 -0700
commitad60a3dece3762f80a656431fcc68faafa6ec231 (patch)
tree1e31c9732e15c672204c6b1642cb804e910d049e
parenta2fbef8dc4906687cc202cc8b4fc013e0b41e953 (diff)
downloadmu-ad60a3dece3762f80a656431fcc68faafa6ec231.tar.gz
preserve atemporal state when restarting time
-rw-r--r--hest-life.mu5
1 files changed, 1 insertions, 4 deletions
diff --git a/hest-life.mu b/hest-life.mu
index 20566b65..560a6f92 100644
--- a/hest-life.mu
+++ b/hest-life.mu
@@ -739,10 +739,7 @@ fn clear-environment _self: (addr environment) {
   var self/esi: (addr environment) <- copy _self
   var tick/eax: (addr int) <- get self, tick
   copy-to *tick, 0
-  var zoom/eax: (addr int) <- get self, zoom
-  copy-to *zoom, 0
-  var play?/eax: (addr boolean) <- get self, play?
-  copy-to *play?, 1/true
+  # don't touch zoom or play settings
   var data-ah/eax: (addr handle array handle array cell) <- get self, data
   var data/eax: (addr array handle array cell) <- lookup *data-ah
   var y/ecx: int <- copy 0