summaryrefslogtreecommitdiff
path: root/scenes/stockticker
diff options
context:
space:
mode:
authorZoey Kitt <zoey.kitt@outlook.com>2024-11-16 20:45:46 -0600
committerZoey Kitt <zoey.kitt@outlook.com>2024-11-16 20:45:46 -0600
commit05edc5e0909db8b4d48c971c8b2680a71997bb1f (patch)
tree075014d60924feabc143bb1f01e13f2e29bb7515 /scenes/stockticker
parent73f8e11d939ffbffbc7e7fc96673d09f28c90647 (diff)
parent68459cebbc082aef2cab614608cd605e7cf54b5f (diff)
Merge branch 'main-window'
Diffstat (limited to 'scenes/stockticker')
-rw-r--r--scenes/stockticker/Stock Ticker.tscn3
-rw-r--r--scenes/stockticker/transactions.gd4
2 files changed, 5 insertions, 2 deletions
diff --git a/scenes/stockticker/Stock Ticker.tscn b/scenes/stockticker/Stock Ticker.tscn
index f2b2ec6..6afa1af 100644
--- a/scenes/stockticker/Stock Ticker.tscn
+++ b/scenes/stockticker/Stock Ticker.tscn
@@ -19,11 +19,10 @@ script = ExtResource("1_1gmdn")
[node name="Background" type="Sprite2D" parent="."]
modulate = Color(0.796078, 0.796078, 0.796078, 1)
position = Vector2(639.75, 359.75)
-scale = Vector2(1280.5, 720.5)
+scale = Vector2(1280, 720)
texture = ExtResource("1_wbfee")
[node name="Timer" type="Timer" parent="."]
-autostart = true
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(1036, 555)
diff --git a/scenes/stockticker/transactions.gd b/scenes/stockticker/transactions.gd
index daff901..39e25b9 100644
--- a/scenes/stockticker/transactions.gd
+++ b/scenes/stockticker/transactions.gd
@@ -15,3 +15,7 @@ func _on_stonks_sell(amount: Variant) -> void:
print("+$%s" % amount.toString())
sell.emit(amount)
+
+# Scope creep!
+func start():
+ $Timer.start()