Skip to content

Commit

Permalink
feat: Add Point of Existence 2 mod for Battlefield 2
Browse files Browse the repository at this point in the history
  • Loading branch information
cetteup committed Apr 23, 2022
1 parent 50fedf1 commit eeb67d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion game/titles/t_bf2.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const (
bf2ModSpecialForces = "xpack"
bf2ModAIX2 = "AIX2"
bf2ModPirates = "bfp2"
bf2ModPoE2 = "poe2"
)

var Bf2 = title.GameTitle{
Expand Down Expand Up @@ -59,7 +60,7 @@ var bf2CmdBuilder launcher.CommandBuilder = func(installPath string, scheme stri

query := u.Query()
if query != nil && query.Has(UrlQueryKeyMod) {
mod, err := getValidMod(installPath, bf2ModBasePath, query.Get(UrlQueryKeyMod), bf2ModSpecialForces, bf2ModAIX2, bf2ModPirates)
mod, err := getValidMod(installPath, bf2ModBasePath, query.Get(UrlQueryKeyMod), bf2ModSpecialForces, bf2ModAIX2, bf2ModPirates, bf2ModPoE2)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit eeb67d3

Please sign in to comment.