From 210a876c0cdd4f53bfa2bcfe6333ff2a2ec754d9 Mon Sep 17 00:00:00 2001 From: lambdatiger Date: Tue, 9 Jan 2024 17:36:36 -0600 Subject: [PATCH] missed underscore --- addons/frag/functions/fnc_initRound.sqf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/frag/functions/fnc_initRound.sqf b/addons/frag/functions/fnc_initRound.sqf index 2171541716..51e0d81f15 100644 --- a/addons/frag/functions/fnc_initRound.sqf +++ b/addons/frag/functions/fnc_initRound.sqf @@ -59,7 +59,7 @@ if (GVAR(spallEnabled) && {_shouldSpall}) then { params ["_proj", "_hitObj", "", "_posASL", "_vel", "", "", - "", "surfType" + "", "_surfType" ]; private _shotPrnt = getShotParents _proj; private _ammo = typeOf _proj; @@ -67,12 +67,12 @@ if (GVAR(spallEnabled) && {_shouldSpall}) then if (isServer) then { [ LINKFUNC(doSpallMomentum), - [_proj, _hitObj, _posASL, _vel, surfType, _shotPrnt, _ammo, _vUp] + [_proj, _hitObj, _posASL, _vel, _surfType, _shotPrnt, _ammo, _vUp] ] call CBA_fnc_execNextFrame; } else { [ QGVAR(spall_eh), - [_proj, _hitObj, _posASL, _vel, surfType, _shotPrnt, _ammo, _vUp] + [_proj, _hitObj, _posASL, _vel, _surfType, _shotPrnt, _ammo, _vUp] ] call CBA_fnc_serverEvent; }; }