summaryrefslogtreecommitdiff
path: root/scenes/main.gd
diff options
context:
space:
mode:
authorZoey Kitt <zoey.kitt@outlook.com>2024-11-16 14:03:25 -0600
committerZoey Kitt <zoey.kitt@outlook.com>2024-11-16 14:03:25 -0600
commitc8ae63405f594d5fca1518283c68e719602a55d8 (patch)
tree836a219caa3ee15a0b33a7aa949230bffccd8eba /scenes/main.gd
parent1a3455015d18921de0b037dcfd8a9b44a5e4e874 (diff)
Oh my god it's gameplay
Diffstat (limited to 'scenes/main.gd')
-rw-r--r--scenes/main.gd4
1 files changed, 4 insertions, 0 deletions
diff --git a/scenes/main.gd b/scenes/main.gd
index 53da549..c984f43 100644
--- a/scenes/main.gd
+++ b/scenes/main.gd
@@ -41,3 +41,7 @@ func _on_microgame_win(window: MicrogameWindow):
func _on_stock_ticker_buy(amount: Variant) -> void:
net_worth = net_worth.minus(amount)
+
+
+func _on_stock_ticker_sell(amount: Variant) -> void:
+ net_worth = net_worth.plus(amount)