From 502c672c9159e62540c6e0e790e04b436b6c0812 Mon Sep 17 00:00:00 2001 From: dingo Date: Fri, 20 Mar 2026 20:12:48 -0400 Subject: [PATCH] Fix spectator UI: use add_theme_font_size_override instead of property assignment theme_override_font_sizes is not a settable property in GDScript 4. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude Co-Authored-By: Happy --- Client/origin-client/scenes/game/game_screen.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/origin-client/scenes/game/game_screen.gd b/Client/origin-client/scenes/game/game_screen.gd index 1d2948c..21e84c6 100644 --- a/Client/origin-client/scenes/game/game_screen.gd +++ b/Client/origin-client/scenes/game/game_screen.gd @@ -265,7 +265,7 @@ func _setup_spectator_ui() -> void: var lbl := Label.new() lbl.text = "SPECTATING" lbl.modulate = Color(1.0, 0.76, 0.2) - lbl.theme_override_font_sizes = { &"font_size": 18 } + lbl.add_theme_font_size_override("font_size", 18) lbl.horizontal_alignment = HORIZONTAL_ALIGNMENT_CENTER lbl.set_anchors_preset(Control.PRESET_TOP_WIDE) lbl.position = Vector2(0, 8)