Fixed bug 'trinity site not loading'

This commit is contained in:
Kristofers Solo 2021-11-14 22:07:11 +02:00
parent ccf3093fac
commit ba44fd60d1
5 changed files with 4 additions and 5 deletions

View File

@ -32,7 +32,7 @@ func _player_disconnected(id) -> void:
PersistentNodes.get_node(str(id)).queue_free()
func _process(delta):
func _process(_delta):
globalActivePhase = Global.get_current_phase()
if globalActivePhase["active"] != null:
phase.text = str(globalActivePhase["active"]["phase_name"])

View File

@ -33,7 +33,7 @@ func _on_timer_timeout():
time -= 1
func _process(delta):
func _process(_delta):
globalActivePhase = Global.get_current_phase()
if globalActivePhase["active"] != null:
$timer.text = str(globalActivePhase["active"]["phase_name"])

View File

@ -153,7 +153,6 @@ script = ExtResource( 2 )
script = ExtResource( 6 )
[node name="winner" type="Label" parent="game_UI"]
visible = false
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5

View File

@ -158,10 +158,10 @@ margin_left = 2.37842
margin_top = -35.5
margin_right = 2.37842
margin_bottom = 106.5
custom_fonts/font = SubResource( 1 )
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = 6
custom_constants/shadow_offset_y = 6
custom_fonts/font = SubResource( 1 )
text = "You are the winner"
align = 1
valign = 1

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=24 format=2]
[ext_resource path="res://source/assets/sprites/GUI/in_game/user_input/user_input_background_panel.svg" type="Texture" id=1]
[ext_resource path="res://source/assets/sprites/GUI/in_game/user_input/background_panel.svg" type="Texture" id=1]
[ext_resource path="res://source/fonts/oxygen/Oxygen-Regular.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://source/assets/sprites/GUI/in_game/trajectories/line_active.svg" type="Texture" id=3]
[ext_resource path="res://source/assets/sprites/GUI/in_game/trajectories/hyperbol_active.svg" type="Texture" id=4]