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:
ebaydayz
2016-05-01 17:08:48 -04:00
parent d6236dcb91
commit 66408ded24
2 changed files with 4 additions and 3 deletions

View File

@@ -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; };