Skip to content

Commit

Permalink
Add detection for etjump mod in other folders besides "etjump"
Browse files Browse the repository at this point in the history
  • Loading branch information
ensiform committed Aug 4, 2023
1 parent b4ca650 commit a59d6eb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/qcommon/files.c
Original file line number Diff line number Diff line change
Expand Up @@ -6459,6 +6459,11 @@ gameMod_t FS_GetGameMod(void)
return knownGames[i].gameEnum;
}
}
if (!Q_stricmpn(fs_gamedirvar->string, "etjump", 6))
{
// etjump but possibly developer build or custom build
return GAMEMOD_ETJUMP;
}
if (!Q_stricmpn(fs_gamedirvar->string, "duke", 4))
{
// Let's rock
Expand Down

0 comments on commit a59d6eb

Please sign in to comment.