From 00744a2d48d4a91d74d8eae9ae640313ba9e3d2f Mon Sep 17 00:00:00 2001 From: eraser1 Date: Fri, 4 Sep 2015 20:28:24 -0500 Subject: [PATCH] switch-do is case sensitive --- @ExileServer/addons/a3_dms/scripts/SpawnAISoldier.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@ExileServer/addons/a3_dms/scripts/SpawnAISoldier.sqf b/@ExileServer/addons/a3_dms/scripts/SpawnAISoldier.sqf index 0c9fcb7..e804c66 100644 --- a/@ExileServer/addons/a3_dms/scripts/SpawnAISoldier.sqf +++ b/@ExileServer/addons/a3_dms/scripts/SpawnAISoldier.sqf @@ -83,7 +83,7 @@ if !(DMS_ai_default_items isEqualTo []) then }; -switch (_type) do +switch (toLower _type) do { case "random" : {_type = DMS_random_AI call BIS_fnc_selectRandom;}; case "unarmed" : {_type = "assault";_unarmed = true;};