From 9d68fbf987203469a64d54413c05b4dad455de78 Mon Sep 17 00:00:00 2001 From: commy2 Date: Thu, 2 Feb 2017 20:03:13 +0100 Subject: [PATCH] fix script error caused by new arguments passed to handleDamage (#4866) * fix script error caused by new arguments passed to handleDamage * Copy array to not break other handleDamage ehs * Resize to 7 --- addons/medical/functions/fnc_handleDamage.sqf | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/medical/functions/fnc_handleDamage.sqf b/addons/medical/functions/fnc_handleDamage.sqf index de86665f99..4d3dc01e31 100644 --- a/addons/medical/functions/fnc_handleDamage.sqf +++ b/addons/medical/functions/fnc_handleDamage.sqf @@ -18,6 +18,7 @@ */ #include "script_component.hpp" +_this = _this select [0, 7]; params ["_unit", "_selection", "_damage", "_shooter", "_projectile", "_hitPointIndex"]; TRACE_5("ACE_DEBUG: HandleDamage Called",_unit, _selection, _damage, _shooter, _projectile);