rework PFH to client module, triageIcons and vehicleFlags point there
This commit is contained in:
@@ -24,10 +24,10 @@ if (_logLevel < DEBUG_MODE) exitWith {};
|
||||
private _hash = createHashMapFromArray _data;
|
||||
|
||||
// Replace square brackets with round brackets to avoid parsing issues.
|
||||
_message regexReplace ['(\[)', "("];
|
||||
_message regexReplace ['(\])', ")"];
|
||||
[_message, "]", ")"] call CBA_fnc_replace;
|
||||
[_message, "[", "("] call CBA_fnc_replace;
|
||||
|
||||
private _json = [_hash] call CBA_fnc_encodeJSON;
|
||||
_log = format ["[%1] [%2] [%3] [%4] :: %5", QUOTE(PREFIX), _component, _fnc_scriptNameParent, _message, _json];
|
||||
private _log = format ["[%1] [%2] [%3] [%4] :: %5", QUOTE(PREFIX), _component, _fnc_scriptNameParent, _message, _json];
|
||||
|
||||
diag_log text _log;
|
||||
Reference in New Issue
Block a user