full multiplayer plus new models
This commit is contained in:
@ -1,12 +1,18 @@
|
||||
extends Control
|
||||
class_name OptionsMenu
|
||||
|
||||
@export var gameplay : GameplayOptionsMenu
|
||||
@export var graphics : GraphicsOptionsMenu
|
||||
@export var keybinds : KeybindsOptionsMenu
|
||||
|
||||
|
||||
func _on_cancel_pressed() -> void:
|
||||
queue_free()
|
||||
|
||||
|
||||
func _on_confirm_pressed() -> void:
|
||||
gameplay.save()
|
||||
graphics.save()
|
||||
Data.graphics.apply_graphical_settings(get_viewport())
|
||||
Data.graphics.save_profile_to_disk()
|
||||
Data.preferences.save_profile_to_disk()
|
||||
|
Reference in New Issue
Block a user