mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Prevent trader menu action showing on players
Fixes bug where player wearing a skin in serverTraders would show trader menu action on him.
This commit is contained in:
@@ -3,7 +3,7 @@ disableSerialization;
|
||||
Z_traderData = (_this select 3); // gets the trader data ( e.g menu_Functionary1 )
|
||||
|
||||
if( isNil "Z_traderData" || count (Z_traderData) == 0)exitWith{
|
||||
cutText [format["There went something wrong selecting the trader."], "PLAIN DOWN"];
|
||||
"Something went wrong selecting the trader." call dayz_rollingMessages;
|
||||
};
|
||||
|
||||
if(DZE_ActionInProgress) exitWith { localize "str_player_actionslimit" call dayz_rollingMessages; };
|
||||
|
||||
Reference in New Issue
Block a user