summaryrefslogtreecommitdiff
path: root/scenes/score_window/score_window.gd
diff options
context:
space:
mode:
Diffstat (limited to 'scenes/score_window/score_window.gd')
-rw-r--r--scenes/score_window/score_window.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/scenes/score_window/score_window.gd b/scenes/score_window/score_window.gd
index 76fb983..d6c465d 100644
--- a/scenes/score_window/score_window.gd
+++ b/scenes/score_window/score_window.gd
@@ -17,7 +17,7 @@ func _ready() -> void:
func _process(delta: float) -> void:
$Score.text = "Net worth: \n$%s" % net_worth.toString()
- if net_worth.isLessThan(Big.new(0)):
+ if net_worth.isLessThan(Big.new(0)) or net_worth.toString()[0] == '-':
donezo.emit()