| summaryrefslogtreecommitdiff |
diff options
| -rw-r--r-- | data/examples/blackjack/cards.fate | 2 | ||||
| -rw-r--r-- | data/examples/blackjack/global.fate | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/data/examples/blackjack/cards.fate b/data/examples/blackjack/cards.fate index f41163c..e85bff6 100644 --- a/data/examples/blackjack/cards.fate +++ b/data/examples/blackjack/cards.fate @@ -30,7 +30,7 @@ of (var family) ) ) - (score (max 10 number)) + (score (clamp 1 number 10)) ) ) (range 1 13 1) diff --git a/data/examples/blackjack/global.fate b/data/examples/blackjack/global.fate index c49642d..a20704e 100644 --- a/data/examples/blackjack/global.fate +++ b/data/examples/blackjack/global.fate @@ -18,7 +18,7 @@ (declare_text_effect action_description) (define_sequence money_acquisition ((int amount)) - (set player.money (+ player.money amount)) + (set player.money (+ player.money amount)) (if (> amount 0) (text_effect action_description You acquired (eval coins_word (var amount))! |


