mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Adding useful TRACE statement
This commit is contained in:
parent
ad1916f513
commit
21c72313f4
@ -14,6 +14,7 @@
|
|||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
|
TRACE_1("",_this);
|
||||||
params [
|
params [
|
||||||
["_projectile", objNull, [objNull]]
|
["_projectile", objNull, [objNull]]
|
||||||
];
|
];
|
||||||
@ -25,7 +26,7 @@ if (_ammo isEqualTo "" || {isNull _projectile}) exitWith {
|
|||||||
};
|
};
|
||||||
|
|
||||||
private _shouldFrag = _ammo call FUNC(shouldFrag);
|
private _shouldFrag = _ammo call FUNC(shouldFrag);
|
||||||
if (_doFrag) then {
|
if (_shouldFrag && GVAR(enabled)) then {
|
||||||
_projectile addEventHandler [
|
_projectile addEventHandler [
|
||||||
"Explode",
|
"Explode",
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user