Skip to content

Commit

Permalink
prevent transit spawn collisions
Browse files Browse the repository at this point in the history
  • Loading branch information
Fusselwurm committed Jul 28, 2020
1 parent 7e8f331 commit 8fda953
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/legacy/functions/fnc_globalSpawnPass.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if ((count (entities "HeadlessClient_F") > 0) && CBA_missionTime < 10) exitWith

private _hcs = (entities "HeadlessClient_F") arrayIntersect allPlayers;
if (count _hcs > 0) then {
[QGVAR(globalSpawn), [], _hcs] call CBA_fnc_targetEvent;
[QGVAR(globalSpawn), [], selectRandom _hcs] call CBA_fnc_targetEvent;
} else {
[QGVAR(globalSpawn), []] call CBA_fnc_serverEvent;
};
2 changes: 1 addition & 1 deletion addons/main/script_version.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define MAJOR 5
#define MINOR 0
#define PATCH 0
#define BUILD 2
#define BUILD 3

0 comments on commit 8fda953

Please sign in to comment.