You've already forked ComfyFactorio
mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-11-25 22:32:18 +02:00
Minor fix
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user