We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a2c8e7 commit 7ec2c9eCopy full SHA for 7ec2c9e
1 file changed
gui/mod-manager.lua
@@ -524,7 +524,8 @@ function ModlistWindow:refresh_list()
524
local choices = {}
525
for idx,mod in ipairs(scriptmanager.get_active_mods()) do
526
if not include_vanilla and mod.vanilla then goto continue end
527
- local steam_id = scriptmanager.get_mod_info_metadata(mod.path, 'STEAM_FILE_ID').STEAM_FILE_ID
+ local metadata = scriptmanager.get_mod_info_metadata(mod.path, 'STEAM_FILE_ID')
528
+ local steam_id = metadata and metadata.STEAM_FILE_ID or nil
529
local url = steam_id and (': https://steamcommunity.com/sharedfiles/filedetails/?id=%s'):format(steam_id) or ''
530
table.insert(choices, {
531
text={
0 commit comments