File tree Expand file tree Collapse file tree
lua/packages/automatic-workshop-dl Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ local resource_AddWorkshop = resource.AddWorkshop
44local logger = gpm .Logger
55local string = string
66local ipairs = ipairs
7- local game = game
7+ local engine = engine
88
99logger :Info ( " Beginning processing content from the Steam Workshop." )
1010
@@ -27,7 +27,7 @@ for _, addon in ipairs( engine.GetAddons() ) do
2727
2828 local isMap = table .HasIValue ( tags , " map" )
2929
30- for _ , filePath in ipairs ( game .GetAddonFiles ( addon .wsid ) ) do
30+ for _ , filePath in ipairs ( engine .GetAddonFiles ( addon .wsid ) ) do
3131 local extension = string .GetExtensionFromFilename ( filePath )
3232 if extension == " lua" then continue end
3333
Original file line number Diff line number Diff line change 11name = " automatic-workshop-dl"
2- version = 000400
2+ version = 000500
33autorun = true
44init = {
55 [" server" ] = " init.lua"
You can’t perform that action at this time.
0 commit comments