diff --git a/src/game_object.lua b/src/game_object.lua index 21c4ec39..6c3fee0e 100644 --- a/src/game_object.lua +++ b/src/game_object.lua @@ -135,7 +135,7 @@ Set `prefix_config.key = false` on your object instead.]]):format(obj.key), obj. if type(self.dependencies) == 'string' then self.dependencies = { self.dependencies } end for _, v in ipairs(self.dependencies) do self.mod.optional_dependencies[v] = true - if not SMODS.Mods[v] or not SMODS.Mods[v].can_load then keep = false end + if not next(SMODS.find_mod(v)) then keep = false end end end return keep diff --git a/version.lua b/version.lua index 921983db..de60e93b 100644 --- a/version.lua +++ b/version.lua @@ -1 +1 @@ -return "1.0.0~ALPHA-1309c-STEAMODDED" +return "1.0.0~ALPHA-1310a-STEAMODDED"