File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -580,22 +580,22 @@ function store.update_paths()
580
580
local mod_hash = {}
581
581
pkgmgr .refresh_globals ()
582
582
for _ , mod in pairs (pkgmgr .global_mods :get_list ()) do
583
- if mod .author then
583
+ if mod .author and mod . release > 0 then
584
584
mod_hash [mod .author :lower () .. " /" .. mod .name ] = mod
585
585
end
586
586
end
587
587
588
588
local game_hash = {}
589
589
pkgmgr .update_gamelist ()
590
590
for _ , game in pairs (pkgmgr .games ) do
591
- if game .author ~= " " then
591
+ if game .author ~= " " and game . release > 0 then
592
592
game_hash [game .author :lower () .. " /" .. game .id ] = game
593
593
end
594
594
end
595
595
596
596
local txp_hash = {}
597
597
for _ , txp in pairs (pkgmgr .get_texture_packs ()) do
598
- if txp .author then
598
+ if txp .author and txp . release > 0 then
599
599
txp_hash [txp .author :lower () .. " /" .. txp .name ] = txp
600
600
end
601
601
end
You can’t perform that action at this time.
0 commit comments