From 7fddf5abf4d5f7e15a0e285f2fb2c23cac191e2b Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sat, 20 Dec 2014 22:55:36 -0500 Subject: [PATCH] Disable nextmap on Insurgency. --- plugins/nextmap.sp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/nextmap.sp b/plugins/nextmap.sp index 8dd6624a..4408a16e 100644 --- a/plugins/nextmap.sp +++ b/plugins/nextmap.sp @@ -63,7 +63,8 @@ public APLRes AskPluginLoad2(Handle myself, bool late, char[] error, int err_max || StrEqual(game, "left4dead2", false) || StrEqual(game, "garrysmod", 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"); return APLRes_SilentFailure;