mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed a few issues script errors that went under the radar until now
This commit is contained in:
parent
fbc710ce47
commit
1cf901703a
@ -2,19 +2,10 @@
|
|||||||
|
|
||||||
["CBA_settingsInitialized", {
|
["CBA_settingsInitialized", {
|
||||||
if (isServer) then {
|
if (isServer) then {
|
||||||
[QGVAR(frag_eh), LINKFUNC(doFrag)] call CBA_fnc_addEventHandler;
|
|
||||||
[QGVAR(spall_eh), LINKFUNC(doFragMomentum)] call CBA_fnc_addEventHandler;
|
|
||||||
[] call FUNC(initBlackList);
|
[] call FUNC(initBlackList);
|
||||||
[] call FUNC(initMaterialCache);
|
[] call FUNC(initMaterialCache);
|
||||||
};
|
};
|
||||||
|
|
||||||
/*if (hasInterface) then {
|
|
||||||
["ace_firedPlayer", LINKFUNC(fired)] call CBA_fnc_addEventHandler;
|
|
||||||
["ace_firedPlayerVehicle", LINKFUNC(fired)] call CBA_fnc_addEventHandler;
|
|
||||||
};
|
|
||||||
|
|
||||||
["ace_firedNonPlayer", LINKFUNC(fired)] call CBA_fnc_addEventHandler;
|
|
||||||
["ace_firedNonPlayerVehicle", LINKFUNC(fired)] call CBA_fnc_addEventHandler;*/
|
|
||||||
|
|
||||||
#ifdef DEBUG_MODE_DRAW
|
#ifdef DEBUG_MODE_DRAW
|
||||||
if (hasInterface && GVAR(debugOptions)) then {
|
if (hasInterface && GVAR(debugOptions)) then {
|
||||||
@ -27,8 +18,6 @@
|
|||||||
}] call CBA_fnc_addEventHandler;
|
}] call CBA_fnc_addEventHandler;
|
||||||
|
|
||||||
|
|
||||||
// Debug stuff:
|
|
||||||
|
|
||||||
#ifdef LOG_FRAG_INFO
|
#ifdef LOG_FRAG_INFO
|
||||||
[true, true, 30] call FUNC(dev_debugAmmo);
|
[true, true, 30] call FUNC(dev_debugAmmo);
|
||||||
#endif
|
#endif
|
||||||
|
@ -58,7 +58,7 @@ if (GVAR(spallEnabled) && {_shouldSpall}) then
|
|||||||
[
|
[
|
||||||
QGVAR(spall_eh),
|
QGVAR(spall_eh),
|
||||||
[_proj, _hitObj, _posASL, _vel, _sNorm, _surfType, _ammo, _shotPrnt, _vUp]
|
[_proj, _hitObj, _posASL, _vel, _sNorm, _surfType, _ammo, _shotPrnt, _vUp]
|
||||||
] call CBA_fnc_serverEvent;
|
] call CBA_fnc_execNextFrame;
|
||||||
};
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user