diff --git a/Sources/epoch_code/gui/scripts/group/EPOCH_Group_update.sqf b/Sources/epoch_code/gui/scripts/group/EPOCH_Group_update.sqf index 9adbf7a2..a06c072f 100644 --- a/Sources/epoch_code/gui/scripts/group/EPOCH_Group_update.sqf +++ b/Sources/epoch_code/gui/scripts/group/EPOCH_Group_update.sqf @@ -14,5 +14,6 @@ */ if (!isNull (findDisplay -1300)) then { (findDisplay -1300) closeDisplay 0; + uisleep 0.2; createDialog "Epoch_myGroup"; }; diff --git a/Sources/epoch_code/init/client_init.sqf b/Sources/epoch_code/init/client_init.sqf index fb3900a0..4ced50b4 100644 --- a/Sources/epoch_code/init/client_init.sqf +++ b/Sources/epoch_code/init/client_init.sqf @@ -20,7 +20,7 @@ EPOCH_ESPGROUPCOLORS = []; EPOCH_ESP_PLAYER = false; EPOCH_ESP_VEHICLES = false; EPOCH_ESP_VEHICLEPLAYER = []; -EPOCH_group_level_img = ["x\addons\a3_epoch_code\Data\owner.paa", "x\addons\a3_epoch_code\Data\mod.paa", "x\addons\a3_epoch_code\Data\member.paa"]; +EPOCH_group_level_img = ["x\addons\a3_epoch_code\data\owner.paa", "x\addons\a3_epoch_code\data\mod.paa", "x\addons\a3_epoch_code\data\member.paa"]; if (isNil 'EPOCH_diag_fps') then { EPOCH_diag_fps = 0; }; diff --git a/Sources/epoch_server/compile/epoch_group/EPOCH_server_updatePlayerGroup.sqf b/Sources/epoch_server/compile/epoch_group/EPOCH_server_updatePlayerGroup.sqf index aa6a3242..61c1a4d8 100644 --- a/Sources/epoch_server/compile/epoch_group/EPOCH_server_updatePlayerGroup.sqf +++ b/Sources/epoch_server/compile/epoch_group/EPOCH_server_updatePlayerGroup.sqf @@ -58,6 +58,16 @@ if ((_response select 0) == 1 && (_response select 1) isEqualType []) then { }; } forEach (allPlayers select {getPlayerUID _x == _selectedPlayerUID}); + // find player name from DB + if (_selectedPlayerName == "Dead Player") then { + _memberrange = ["PlayerData", _selectedPlayerUID] call EPOCH_fnc_server_hiveGETRANGE; + if (count (_memberrange select 1) > 0) then { + if (typename (_memberrange select 1 select 0) == "STRING") then { + _selectedPlayerName = _memberrange select 1 select 0; + }; + }; + }; + _removePlayerArray = _contentArray select _modOrMemberRevert; {