This repository has been archived on 2022-01-09. You can view files and clone it, but cannot push or open issues/pull-requests.
2021-09-24 23:16:54 +02:00
|
|
|
extends "res://Assets/UI/Menu.gd"
|
|
|
|
|
2021-12-06 23:15:01 +01:00
|
|
|
func on_visibility_changed():
|
|
|
|
if visible:
|
|
|
|
$SuicideButton.visible = (Main.role != Main.MultiplayerRole.NONE)
|
|
|
|
|
|
|
|
func commit_suicide():
|
|
|
|
Main.commit_suicide()
|
|
|
|
|
2021-09-24 23:16:54 +02:00
|
|
|
func host_button_pressed():
|
|
|
|
Main.host_server()
|