Fix JIP Marker SYnc

This commit is contained in:
PabstMirror 2015-03-27 23:19:03 -05:00
parent e5cbca02e4
commit 909f53753a
3 changed files with 5 additions and 5 deletions

View File

@ -11,8 +11,8 @@
if (isMultiplayer && {!isServer} && {hasInterface}) then {
private "_logic";
_logic = createGroup sideLogic createUnit ["Logic", [0,0,0], [], 0, "NONE"];
[QGVAR(sendMarkersJIP), _logic] call EFUNC(common,serverEvent);
systemChat "requesting markers";
[QGVAR(sendMarkersJIP), [_logic]] call EFUNC(common,serverEvent);
};

View File

@ -1,7 +1,7 @@
/*
* Author: BIS, commy2
* Sets up the marker placement
* Replaces \a3\ui_f\scripts\GUI\RscDisplayInsertMarker.sqf
* Run instead of \a3\ui_f\scripts\GUI\RscDisplayInsertMarker.sqf
*
* Arguments:
* 0: RscDisplayInsertMarker <DISPLAY>

View File

@ -43,8 +43,8 @@ _marker setMarkerDirLocal _markerDir;
if (isMultiplayer && {isServer}) then {
private ["_allMapMarkers", "_allMapMarkersProperties", "_index"];
_allMapMarkers = GETMVAR(allMapMarkers,[]);
_allMapMarkersProperties = GETMVAR(allMapMarkersProperties,[]);
_allMapMarkers = GETGVAR(allMapMarkers,[]);
_allMapMarkersProperties = GETGVAR(allMapMarkersProperties,[]);
_index = _allMapMarkers find _marker;