Redo markers, lost in the merge

This commit is contained in:
esteldunedain 2016-02-27 09:06:19 -03:00
parent db4974eae2
commit 849fa4f1ee
2 changed files with 3 additions and 4 deletions

View File

@ -9,8 +9,7 @@
// request marker data for JIP
if (isMultiplayer && {!isServer} && {hasInterface}) then {
GVAR(localLogic) = sideLogic createUnit ["Logic", [0,0,0], [], 0, "NONE"];
GVAR(localGroup) = createGroup GVAR(localLogic);
GVAR(localLogic) = (createGroup sideLogic) createUnit ["Logic", [0,0,0], [], 0, "NONE"];
[QGVAR(sendMarkersJIP), [GVAR(localLogic)]] call EFUNC(common,serverEvent);
};

View File

@ -51,7 +51,7 @@ TRACE_3("params",_allMapMarkers,_allMapMarkersProperties);
false
} count allMapMarkers;
deleteGroup GVAR(localGroup);
GVAR(localGroup) = nil;
private _group = group GVAR(localLogic);
deleteVehicle GVAR(localLogic);
GVAR(localLogic) = nil;
deleteGroup _group;