Skip to content

Commit

Permalink
Merge pull request #38 from azzyr/master
Browse files Browse the repository at this point in the history
add fix for tf2classic
  • Loading branch information
sapphonie authored Dec 4, 2023
2 parents 47d00d6 + 3465817 commit 8a825ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/nativevotes/game.sp
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ bool Game_IsGameSupported(char[] engineName="", int maxlength=0)
}

//Fix for Open Fortress
if (g_EngineVersion == Engine_SDK2013 && StrEqual(gameDir, "open_fortress"))
if ( g_EngineVersion == Engine_SDK2013 && ( StrEqual(gameDir, "open_fortress") || StrEqual(gameDir, "tf2classic") ) )
{
g_EngineVersion = Engine_TF2;
}
Expand Down

0 comments on commit 8a825ba

Please sign in to comment.