Skip to content

Commit 7c289fe

Browse files
committed
fix: also parse mod id lines starting with ModID:
1 parent b0dd55a commit 7c289fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

steam/items.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ func (w *WorkshopItem) Parse() *ParsedWorkshopItem {
4747
line = strings.TrimSpace(line)
4848
if strings.HasPrefix(line, "Mod ID: ") {
4949
mods = append(mods, strings.TrimPrefix(line, "Mod ID: "))
50+
} else if strings.HasPrefix(line, "ModID: ") {
51+
mods = append(mods, strings.TrimPrefix(line, "ModID: "))
5052
} else if strings.HasPrefix(line, "Map Folder: ") {
5153
maps = append(maps, strings.TrimPrefix(line, "Map Folder: "))
5254
}

0 commit comments

Comments
 (0)