Skip to content

Commit 0c6566d

Browse files
Fix issue where the override.cfg file would be created at the wrong location, if Pixelorama is launched through a shortcut
1 parent b0d4b30 commit 0c6566d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Autoload/Global.gd

+2-2
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ func _renderer_changed(value: int) -> void:
539539
ProjectSettings.set_initial_value("rendering/quality/driver/driver_name", "GLES2")
540540
var renderer_name := OS.get_video_driver_name(renderer)
541541
ProjectSettings.set_setting("rendering/quality/driver/driver_name", renderer_name)
542-
ProjectSettings.save_custom(OVERRIDE_FILE)
542+
ProjectSettings.save_custom(root_directory.plus_file(OVERRIDE_FILE))
543543

544544

545545
func _tablet_driver_changed(value: int) -> void:
@@ -548,7 +548,7 @@ func _tablet_driver_changed(value: int) -> void:
548548
return
549549
var tablet_driver_name := OS.get_tablet_driver_name(tablet_driver)
550550
ProjectSettings.set_setting("display/window/tablet_driver", tablet_driver_name)
551-
ProjectSettings.save_custom(OVERRIDE_FILE)
551+
ProjectSettings.save_custom(root_directory.plus_file(OVERRIDE_FILE))
552552

553553

554554
func dialog_open(open: bool) -> void:

0 commit comments

Comments
 (0)