Disable nextmap on Insurgency.
This commit is contained in:
parent
abb8d8447f
commit
7fddf5abf4
@ -63,7 +63,8 @@ public APLRes AskPluginLoad2(Handle myself, bool late, char[] error, int err_max
|
|||||||
|| StrEqual(game, "left4dead2", false)
|
|| StrEqual(game, "left4dead2", false)
|
||||||
|| StrEqual(game, "garrysmod", false)
|
|| StrEqual(game, "garrysmod", false)
|
||||||
|| StrEqual(game, "swarm", false)
|
|| StrEqual(game, "swarm", false)
|
||||||
|| StrEqual(game, "dota", false))
|
|| StrEqual(game, "dota", false)
|
||||||
|
|| GetEngineVersion() == Engine_Insurgency)
|
||||||
{
|
{
|
||||||
strcopy(error, err_max, "Nextmap is incompatible with this game");
|
strcopy(error, err_max, "Nextmap is incompatible with this game");
|
||||||
return APLRes_SilentFailure;
|
return APLRes_SilentFailure;
|
||||||
|
Loading…
Reference in New Issue
Block a user