From 2029124a88a8ad91d2fee2ed49bbd85315f50c97 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Sat, 24 Jun 2023 06:51:07 -0500 Subject: [PATCH] Common - Fix debug macros in CBA_fnc_switchPlayer (#1566) --- addons/common/fnc_switchPlayer.sqf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/common/fnc_switchPlayer.sqf b/addons/common/fnc_switchPlayer.sqf index 371d7a6e3b..854d1cfbf8 100644 --- a/addons/common/fnc_switchPlayer.sqf +++ b/addons/common/fnc_switchPlayer.sqf @@ -43,13 +43,13 @@ _dummyUnit = (_ar select 4) createUnit [_type, [0, 0, 0], [], 0, "NONE"]; // Joi if (isNull _dummyUnit) exitWith { hint "Sorry, something went wrong, dummyUnit is null" }; [_oldUnit] join _dummyGroup; -LOG(format["1.Dummy created, State saved and put oldUnit in new group: %1", _dummyGroup]); +LOG_1("1.Dummy created, State saved and put oldUnit in new group: %1", _dummyGroup); private _newUnit = _dummyGroup createUnit [_type, _ar select 5, [], 0, "NONE"]; if (isNull _newUnit) exitWith { hint "Sorry, something went wrong, newUnit is null" }; -LOG(format["2.New unit created, local: %1", local _newUnit]); +LOG_1("2.New unit created, local: %1", local _newUnit); sleep 1; addSwitchableUnit _newUnit; @@ -58,7 +58,7 @@ selectPlayer _newUnit; _newUnit setRank (_ar select 2); _newUnit addScore (_ar select 3); -LOG(format["3.State transfered, switched player control to new unit, local: %1", local _newUnit]); +LOG_1("3.State transfered, switched player control to new unit, local: %1", local _newUnit); sleep 1; if (_ar select 7 != "") then {