Skip to content

Commit

Permalink
prevent removing main menu
Browse files Browse the repository at this point in the history
  • Loading branch information
CrispyPin committed Jun 3, 2021
1 parent cfd46be commit aacc052
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ovr-utils/export_presets.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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=""

Expand All @@ -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=""

Expand Down
3 changes: 2 additions & 1 deletion ovr-utils/ui/overlay_list_item.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit aacc052

Please sign in to comment.