mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-11 04:48:00 +03:00
metadata-hook: fix on-load
This commit is contained in:
parent
b99ca963c0
commit
15e3b43be3
@ -39,7 +39,10 @@
|
||||
++ on-save !>(state)
|
||||
++ on-load
|
||||
|= =vase
|
||||
=+ !<(old=versioned-state vase)
|
||||
=/ m-old=(unit versioned-state)
|
||||
(mole |.(!<(versioned-state vase)))
|
||||
?~ m-old `this
|
||||
=* old u.m-old
|
||||
|^
|
||||
?: ?=(%2 -.old)
|
||||
`this
|
||||
|
Loading…
Reference in New Issue
Block a user