1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-11-25 22:32:18 +02:00

Minor fix

This commit is contained in:
Gerkiz
2025-01-17 11:59:30 +01:00
parent 5a961cb732
commit b475dc449d
3 changed files with 10 additions and 14 deletions

View File

@@ -76,20 +76,9 @@ function is_game_modded()
return false
end
local space_age_mods = {
['space-age'] = true,
['elevated-rails'] = true,
['quality'] = true,
}
function has_space_age()
local active_mods = script.active_mods
for mod_name, _ in pairs(active_mods) do
if space_age_mods[mod_name] then
return true
end
end
local active_mods = script.active_mods['space-age'] ~= nil
if active_mods then return true end
return false
end