first
This commit is contained in:
15
script/pausemenu.gd
Normal file
15
script/pausemenu.gd
Normal file
@@ -0,0 +1,15 @@
|
||||
extends Control
|
||||
|
||||
@onready var main : Main = $/root/Main
|
||||
|
||||
func on_disconnect_pressed() -> void:
|
||||
main.on_Disconnect_pressed()
|
||||
|
||||
func _on_settings_pressed() -> void:
|
||||
main.on_settings_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)")
|
||||
Reference in New Issue
Block a user