From f94da4754651bf59fd7137f09787125707c50ed6 Mon Sep 17 00:00:00 2001 From: dayz10k Date: Tue, 26 Nov 2013 15:05:26 -0500 Subject: [PATCH] #796 error in BIS killed --- SQF/dayz_code/system/BIS_Effects/killed.sqf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SQF/dayz_code/system/BIS_Effects/killed.sqf b/SQF/dayz_code/system/BIS_Effects/killed.sqf index d481efcae..48d502548 100644 --- a/SQF/dayz_code/system/BIS_Effects/killed.sqf +++ b/SQF/dayz_code/system/BIS_Effects/killed.sqf @@ -1,15 +1,15 @@ private ["_v","_int","_t","_b"]; _v=_this select 0; -if(_v iskindof"helicopter"||_v iskindof"plane")then{ +if(_v iskindof "helicopter"||_v iskindof "plane")then{ ["AirDestruction",_v]call BIS_Effects_globalEvent; }; -if(_v iskindof"tank")then{ +if(_v iskindof "tank")then{ _int=(fuel _v)*(2+random 2); _t=time; [_v,_int]spawn BIS_Effects_Secondaries; }; -if(_v iskindof"car"||_v iskindof"ship")then{ +if(_v iskindof "car"||_v iskindof "ship")then{ _int=(fuel _v)*(2+random 1); _t=time; [_v,_int]spawn BIS_Effects_Secondaries;