Skip to content

Commit

Permalink
chore: add some logging for stable case when icon is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
M3ales committed Nov 6, 2023
1 parent 58f7b5a commit 5c452b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions functions/fn_buildStablePassengerActions.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ _modifierFunc = {
if(_bandage) then {
_result = QUOTE(ICON_PATH(bandage));
};

if(_result == "") then {
private _set = format["Tourniquet: %1, Fractures: %2, Low BP: %3, Low HR: %4, Stitch: %5, Bandage: %6, isMedic: %7",_tourniquet,_fractures,_lowBP,_lowHR,_stitch,_bandage,_isMedic];
LOG_ERRORF_1("Couldnt find matching icon for stable given set: %1",_set);
};
_actionData set [2, _result];
};

Expand Down

0 comments on commit 5c452b8

Please sign in to comment.