Skip to content

Commit 514f7f5

Browse files
committed
Changed FOB initialization to occur as remoteExecCall
Issue reference: #135 Previously, this was called only on the server and is never executed on players. Added notification for FOB help to remoteExecCall as well
1 parent c10c8f2 commit 514f7f5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

source/zones_bonus.sqf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
[] spawn {
22
waitUntil {zoneundercontrolblu >= 1};
33
sleep 20;
4-
_sitrep = [player,"fob_support"] call BIS_fnc_addCommMenuItem;
5-
["info",["Establishing a FOB","Check the briefing for more info (RTI Manual)"]] call bis_fnc_showNotification;
4+
[player,"fob_support"] remoteExecCall ["BIS_fnc_addCommMenuItem", 0, true];
5+
//_sitrep = [player,"fob_support"] call BIS_fnc_addCommMenuItem;
6+
["info",["Establishing a FOB","Check the briefing for more info (RTI Manual)"]] remoteExecCall ["bis_fnc_showNotification", 0, true];
7+
//["info",["Establishing a FOB","Check the briefing for more info (RTI Manual)"]] call bis_fnc_showNotification;
68
sleep 2;
79
};

0 commit comments

Comments
 (0)