Updated the game check with GetGameFolderName instead of GetGameDesc. (Bug 3473 r=dvander)
This commit is contained in:
parent
50580498c4
commit
f96ca17f17
@ -55,9 +55,9 @@ new g_CurrentMapStartTime;
|
|||||||
public OnPluginStart()
|
public OnPluginStart()
|
||||||
{
|
{
|
||||||
decl String:desc[128];
|
decl String:desc[128];
|
||||||
GetGameDescription(desc, sizeof(desc));
|
GetGameFolderName(desc, sizeof(desc));
|
||||||
|
|
||||||
if(StrEqual(desc, "Left 4 Dead", false))
|
if(StrEqual(desc, "left4dead", false))
|
||||||
{
|
{
|
||||||
SetFailState("The 'nextmap' plugin is not supported on Left 4 Dead.");
|
SetFailState("The 'nextmap' plugin is not supported on Left 4 Dead.");
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user