forked from unfa/liblast
Fixed a silly scoretab bug
parent
7be3893dd5
commit
9626e509f9
|
@ -11,6 +11,8 @@ func _ready():
|
|||
pass # Replace with function body.
|
||||
|
||||
func update_score_table():
|
||||
$ScoreTable/VBoxContainer/ScoreTab.text = ''
|
||||
|
||||
var scores = []
|
||||
|
||||
for i in main.player_list.players.keys():
|
||||
|
@ -27,9 +29,7 @@ func update_score_table():
|
|||
func score_table(show := true):
|
||||
|
||||
if show:
|
||||
$ScoreTable/VBoxContainer/ScoreTab.text = ''
|
||||
update_score_table()
|
||||
|
||||
$ScoreTable.show()
|
||||
else:
|
||||
$ScoreTable.hide()
|
||||
|
|
Loading…
Reference in New Issue