From e1b3d9d23e36fff7ccb58c983d34ef8fe9cc0e51 Mon Sep 17 00:00:00 2001 From: Xeno Date: Mon, 27 Feb 2023 21:56:33 +0100 Subject: [PATCH] Update fn_gethpname.sqf --- co30_Domination.Altis/client/fn_gethpname.sqf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/co30_Domination.Altis/client/fn_gethpname.sqf b/co30_Domination.Altis/client/fn_gethpname.sqf index 1d0b7b73e..373c64190 100644 --- a/co30_Domination.Altis/client/fn_gethpname.sqf +++ b/co30_Domination.Altis/client/fn_gethpname.sqf @@ -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 }; @@ -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