mirror of
https://github.com/RPG-Research/bcirpg.git
synced 2024-04-16 14:23:01 +00:00
13 lines
292 B
GDScript3
13 lines
292 B
GDScript3
|
extends Popup
|
||
|
|
||
|
onready var player_list = $CenterContainer/VBoxContainer/ItemList
|
||
|
|
||
|
func _ready():
|
||
|
player_list.clear()
|
||
|
|
||
|
func refresh_players(players):
|
||
|
player_list.clear()
|
||
|
for player_id in players:
|
||
|
var player = players[player_id]["Player_name"]
|
||
|
player_list.add_item(player, null, false)
|