Skip to content

Commit

Permalink
Update fn_gethpname.sqf
Browse files Browse the repository at this point in the history
  • Loading branch information
Xeno69 committed Feb 27, 2023
1 parent de1bf8d commit e1b3d9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions co30_Domination.Altis/client/fn_gethpname.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ if (alive _u) exitWith {
if (isNil "_n") then {
_n = name _u;
if (d_no_ai && {_u getUnitTrait "Medic"}) then {
_n = [_n, " ", d_phud_loc884] joinString "";
_n = _n + " " + d_phud_loc884;
};
_u setVariable ["d_phname", _n];
_u setVariable ["d_phname_d", format ["%1 %2", _n, d_phud_loc493]];
_u setVariable ["d_phname_d", _n + " " + d_phud_loc493];
};
_n
};
Expand All @@ -24,7 +24,7 @@ if (isNil "_n") then {
_n = _n + d_phud_loc884;
};
_u setVariable ["d_phname", _n];
_n = [_n, " ", d_phud_loc493] joinString "";
_n = _n + " " + d_phud_loc493;
_u setVariable ["d_phname_d", _n];
};
_n

0 comments on commit e1b3d9d

Please sign in to comment.