mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
58a55313cd
Changed: Spalling calculations now throttled across frames and limited; accurate but performant Changed: All lookups are now index-based on a global projectiles array. This reduced runtime dramatically for all fragmentation.
12 lines
325 B
Plaintext
12 lines
325 B
Plaintext
#include "script_component.hpp"
|
|
|
|
if(GVAR(EnableDebugTrace) && !isMultiplayer) then {
|
|
GVAR(traceFrags) = true;
|
|
GVAR(autoTrace) = true;
|
|
};
|
|
|
|
if(isServer) then {
|
|
[QGVAR(frag_eh), { _this call FUNC(frago); }] call ace_common_fnc_addEventHandler;
|
|
};
|
|
|
|
[FUNC(masterPFH), 0, []] call CBA_fnc_addPerFrameHandler; |