14 lines
399 B
Plaintext
14 lines
399 B
Plaintext
|
|
extends Control
|
||
|
|
|
||
|
|
@onready var main : Main = $/root/Main
|
||
|
|
|
||
|
|
func on_disconnect_pressed() -> void:
|
||
|
|
main.on_Disconnect_pressed()
|
||
|
|
|
||
|
|
|
||
|
|
func on_lobby_member_list_item_activated(index: int) -> void:
|
||
|
|
if Steamworks.is_initiallized:
|
||
|
|
print("You clicked on: " + Steam.getFriendPersonaName(Steamworks.member_index_list.get(index)))
|
||
|
|
else:
|
||
|
|
print("You clicked on: index: " + str(index) + " (Steam unavailable)")
|