This commit is contained in:
Kartik K. Agaram 2021-06-04 19:41:27 -07:00
parent 30745be5b5
commit eb6758c61f
1 changed files with 2 additions and 2 deletions

View File

@ -88,8 +88,8 @@ fn edit-environment _self: (addr environment), key: byte, data-disk: (addr disk)
}
# dispatch the key to either sandbox or globals
{
var cursor-in-globals?/eax: (addr boolean) <- get self, cursor-in-globals?
compare *cursor-in-globals?, 0/false
var cursor-in-globals-a/eax: (addr boolean) <- get self, cursor-in-globals?
compare *cursor-in-globals-a, 0/false
break-if-=
edit-globals globals, key, data-disk
return