Skip to content

Commit

Permalink
Fixed padding in macro argument
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBrostrom committed Apr 2, 2024
1 parent 1098144 commit d1f21d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion addons/dynobj/functions/fnc_cmResetChooseDialog.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if(count _indices == 0) then { // reset all
private _varName = format["%1_%2",_titleVariableIdentifier,_i];
private _varId = uiNamespace getVariable _varName;
while {!isNil "_varId"} do {
LOG_3("%1 - %2 - %3", _i, _varName, isNil "_varId");
LOG_3("%1 - %2 - %3",_i,_varName,isNil "_varId");
uiNamespace setVariable [_varName, nil];
INC(_i);
_varName = format["%1_%2",_titleVariableIdentifier,_i];
Expand Down
6 changes: 3 additions & 3 deletions addons/mission/functions/fnc_teleport.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ params [
];

if (isNil "_dest") exitWith {
ERROR_MSG_2("No valid destination given for teleporter %1 (Action named; %2).", _object, _action);
ERROR_MSG_2("No valid destination given for teleporter %1 (Action named; %2).",_object,_action);
};

#ifdef DEBUG_MODE_NORMAL
INFO_3("Teleporter action, named '%1', added to %2 with destination: %3.", _action, _object, _dest);
INFO_3("Teleporter action, named '%1', added to %2 with destination: %3.",_action,_object,_dest);
#endif

_object addAction [
Expand Down Expand Up @@ -67,7 +67,7 @@ _object addAction [
[player, _height] call CBA_fnc_setHeight;
titleText ["", "BLACK IN", 3];
#ifdef DEBUG_MODE_NORMAL
INFO_3("%1 have been teleportet to %2 at height %3.", name player, _dest, _height);
INFO_3("%1 have been teleportet to %2 at height %3.",name player,_dest,_height);
#endif

}, _dest, 1.5, true, true, "", "true", 10
Expand Down

0 comments on commit d1f21d6

Please sign in to comment.