Skip to content

Commit

Permalink
(#642): used BLWK_fnc_spawnQueue_get in add function
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansible2 committed Jul 9, 2023
1 parent 74424ce commit 96ca5ea
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Functions/Queue/fn_spawnQueue_add.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,8 @@ params [
["_onManCreatedFunctionName","BLWK_fnc_standardWave_onManCreated",[""]],
];

if (isNil {localNamespace getVariable "BLWK_spawnQueue"}) then {
localNamespace setVariable ["BLWK_spawnQueue",[]];
};

private _queue = localNamespace getVariable "BLWK_spawnQueue";
private _queue = call BLWK_fnc_spawnQueue_get;
_queue pushBack _this;


Expand Down

0 comments on commit 96ca5ea

Please sign in to comment.