1
0
mirror of https://github.com/Relintai/broken_seals.git synced 2025-03-15 15:56:21 +01:00
broken_seals/game/menu/ExitButton.gd

9 lines
132 B
GDScript3
Raw Normal View History

extends Button
func _ready():
if OS.has_feature("mobile") || OS.has_feature("web"):
hide()
func _pressed():
get_tree().quit()