From e0227a5ea20aaa6eccd260de33235a307cbd85ea Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Tue, 29 Dec 2020 03:27:06 +0100 Subject: Ends refactoring. --- data/examples/blackjack/cards.fate | 2 +- 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))! -- cgit v1.2.3-70-g09d2