comcode-org / hackmud_wiki

https://wiki.hackmud.com/
Other
13 stars 21 forks source link

Fix `escrow.charge` example #432

Closed danswann closed 3 months ago

danswann commented 3 months ago

Problem

The example escrow script had the conditions backwards. If escrow.charge returns an object, you want to forward it to the player. If it is null, the charge is paid.

Added semis for consistency with the line that had one.