From d6cb3b13759571fce78991717ad2b4ec2a92c580 Mon Sep 17 00:00:00 2001 From: Kaldaien Date: Fri, 29 Nov 2024 15:58:05 -0500 Subject: [PATCH] Fix broken logic for config.system.first_run --- src/config.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/config.cpp b/src/config.cpp index cf5f721e5..296093677 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -5501,8 +5501,10 @@ auto DeclKeybind = return_to_skif->load (config.system.return_to_skif); auto_load_asi_files->load (config.system.auto_load_asi_files); - if (version->load (config.system.version)) + SK_RunOnce ( + if (version->load (config.system.version)) config.system.first_run = false; + ); skif_autostop_behavior->load (config.skif.auto_stop_behavior);