mirror of
https://github.com/urbit/shrub.git
synced 2024-12-12 10:29:01 +03:00
Don't put any grams into the prize if they weren't requested.
This commit is contained in:
parent
211045abdd
commit
100f0cb431
@ -1926,7 +1926,8 @@
|
||||
?~ soy ~
|
||||
:+ ~ ~
|
||||
:- %circle
|
||||
:+ %+ turn
|
||||
:+ ?. (~(has in wat.qer) %grams) ~
|
||||
%+ turn
|
||||
=- (~(so-first-grams so:ta nom.qer ~ -) ran.qer)
|
||||
::TODO this can be done more efficiently.
|
||||
?~ wer.qer u.soy
|
||||
|
Loading…
Reference in New Issue
Block a user