Forced nextmap to not load on L4D (bug 3473 r=Liam)
This commit is contained in:
parent
5564c38a2f
commit
2c9622ea52
@ -54,6 +54,15 @@ new g_CurrentMapStartTime;
|
||||
|
||||
public OnPluginStart()
|
||||
{
|
||||
decl String:desc[128];
|
||||
GetGameDescription(desc, sizeof(desc));
|
||||
|
||||
if(strcmp(desc, "Left 4 Dead", false))
|
||||
{
|
||||
SetFailState("The 'nextmap' plugin is not supported on Left 4 Dead.");
|
||||
return;
|
||||
}
|
||||
|
||||
LoadTranslations("common.phrases");
|
||||
LoadTranslations("nextmap.phrases");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user