From 9ea93a851cedd6c0993509f370e9e8fd3faeb19f Mon Sep 17 00:00:00 2001 From: LostbBlizzard <106630000+LostbBlizzard@users.noreply.github.com> Date: Fri, 18 Oct 2024 21:41:06 -0400 Subject: [PATCH] fixed bug --- ninja.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ninja.lua b/ninja.lua index 63b4385..2602c15 100644 --- a/ninja.lua +++ b/ninja.lua @@ -172,8 +172,9 @@ function ninja.generateWorkspace(wks) if wks.defaultplatform == "" then cfg_first = key elseif cfg.platform == wks.defaultplatform then - cfg_first = key - break + if cfg_first == nil then + cfg_first = key + end end end