metadata-hook: fix on-load

This commit is contained in:
Liam Fitzgerald 2021-02-04 11:37:43 +10:00
parent 1bc5e6d103
commit a42f0c7428
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -18,11 +18,11 @@
::
+$ state-zero
$: %0
synced=(map group-path ship)
synced=(map path ship)
==
+$ state-one
$: %1
synced=(map group-path ship)
synced=(map path ship)
==
+$ state-two
[%2 ~]
@ -39,8 +39,6 @@
++ on-save !>(state)
++ on-load
|= =vase
?: =(1 1)
`this
=+ !<(old=versioned-state vase)
|^
?: ?=(%2 -.old)