mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix JIP Marker SYnc
This commit is contained in:
parent
e5cbca02e4
commit
909f53753a
@ -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);
|
||||
};
|
||||
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user