Skip to content

Commit

Permalink
Fixes a runtime during initPlayerLocal.sqf
Browse files Browse the repository at this point in the history
  • Loading branch information
Spoffy committed Aug 9, 2019
1 parent 19ba871 commit eb6f8f9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions A3-Antistasi/initPlayerLocal.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ _positionX = if (side player == side (group petros)) then {position petros} else
{
_x set [3, 0.33]
} forEach [_colourTeamPlayer, _colorInvaders];
_introShot = [] spawn {
[
_introShot = [
_positionX, // Target position
format ["%1",worldName], // SITREP text
50, // altitude
Expand All @@ -97,6 +96,9 @@ _introShot = [] spawn {
["\a3\ui_f\data\map\markers\nato\o_inf.paa", _colorInvaders, markerPos "towerBaseMrk", 1, 1, 0, "Radio Towers", 0]
]
] spawn BIS_fnc_establishingShot;

//Trigger credits loading.
[] spawn {
waitUntil {!isNil "BIS_fnc_establishingShot_playing" && {BIS_fnc_establishingShot_playing}};
private _credits = [] execVM "credits.sqf";
};
Expand Down

0 comments on commit eb6f8f9

Please sign in to comment.