mirror of
https://github.com/CrispyPin/ovr-utils.git
synced 2024-11-22 07:30:25 +01:00
prevent removing main menu
This commit is contained in:
parent
cfd46beb67
commit
aacc05243a
2 changed files with 4 additions and 3 deletions
|
@ -7,7 +7,7 @@ custom_features=""
|
|||
export_filter="all_resources"
|
||||
include_filter=""
|
||||
exclude_filter=""
|
||||
export_path="../builds/ovr-utils.x86_64"
|
||||
export_path="../builds/linux/ovr-utils.x86_64"
|
||||
script_export_mode=1
|
||||
script_encryption_key=""
|
||||
|
||||
|
@ -32,7 +32,7 @@ custom_features=""
|
|||
export_filter="all_resources"
|
||||
include_filter=""
|
||||
exclude_filter=""
|
||||
export_path="../builds/ovr-utils.exe"
|
||||
export_path="../builds/windows/ovr-utils.exe"
|
||||
script_export_mode=1
|
||||
script_encryption_key=""
|
||||
|
||||
|
|
|
@ -37,5 +37,6 @@ func _overlay_visibility_changed(state: bool):
|
|||
|
||||
|
||||
func _on_Remove_pressed() -> void:
|
||||
OverlayManager.remove_overlay(overlay_name)
|
||||
if overlay.type and overlay.type != "main":
|
||||
OverlayManager.remove_overlay(overlay_name)
|
||||
|
||||
|
|
Loading…
Reference in a new issue