only perform remove if called via newspaper

This commit is contained in:
[VB]AWOL
2013-11-25 08:08:56 -06:00
parent 6991d1ce5f
commit 9e37dee845

View File

@@ -3,6 +3,11 @@ private ["_activatingPlayer"];
// [ _trader_id, _category, _action ];
_activatingPlayer = player;
// attempt to remove newspaper if called without args
if (count _this == 0) then {
player removeMagazine "ItemNewspaper";
};
//diag_log format["DEBUG DEATH OBJ: %1", _this select 0];
//["PVDZE_plr_DeathB",[_activatingPlayer]] call callRpcProcedure;