prevent removing main menu

This commit is contained in:
Crispy 2021-06-03 18:55:27 +02:00
parent cfd46beb67
commit aacc05243a
2 changed files with 4 additions and 3 deletions

View file

@ -7,7 +7,7 @@ custom_features=""
export_filter="all_resources" export_filter="all_resources"
include_filter="" include_filter=""
exclude_filter="" exclude_filter=""
export_path="../builds/ovr-utils.x86_64" export_path="../builds/linux/ovr-utils.x86_64"
script_export_mode=1 script_export_mode=1
script_encryption_key="" script_encryption_key=""
@ -32,7 +32,7 @@ custom_features=""
export_filter="all_resources" export_filter="all_resources"
include_filter="" include_filter=""
exclude_filter="" exclude_filter=""
export_path="../builds/ovr-utils.exe" export_path="../builds/windows/ovr-utils.exe"
script_export_mode=1 script_export_mode=1
script_encryption_key="" script_encryption_key=""

View file

@ -37,5 +37,6 @@ func _overlay_visibility_changed(state: bool):
func _on_Remove_pressed() -> void: func _on_Remove_pressed() -> void:
OverlayManager.remove_overlay(overlay_name) if overlay.type and overlay.type != "main":
OverlayManager.remove_overlay(overlay_name)