Don't send to original player

This commit is contained in:
icomrade
2016-08-21 18:36:20 -04:00
parent 6bdc3956fb
commit c4aa469e41

View File

@@ -128,8 +128,9 @@ switch (_variable) do {
case "RemoveObject": { case "RemoveObject": {
PVDZE_obj_Remove = _arraytosend; PVDZE_obj_Remove = _arraytosend;
{ {
if (isPlayer _x) then { _pOwner = owner _x;
(owner _x) publicVariableClient "PVDZE_obj_Remove"; if (isPlayer _x && {_pOwner != _owner}) then {
_pOwner publicVariableClient "PVDZE_obj_Remove";
}; };
} forEach playableUnits; } forEach playableUnits;
}; };