Providing correct parameters

This commit is contained in:
SilentSpike 2015-05-15 00:09:03 +01:00
parent c458deeae2
commit 60ade8deaa
2 changed files with 7 additions and 3 deletions

View File

@ -198,7 +198,7 @@ if (_activated) then {
_addons call bis_fnc_activateaddons;
// Added by ACE_zeus to delay ascension messages and bird code (so that settings can be changed)
[{_this spawn DFUNC(moduleCuratorDelay);},_this] call EFUNC(common,execNextFrame);
[{_this spawn DFUNC(moduleCuratorDelay);},[_logic,_player]] call EFUNC(common,execNextFrame);
};
//--- Player

View File

@ -5,8 +5,7 @@
*
* Arguments:
* 0: The module logic <LOGIC>
* 1: units <ARRAY>
* 2: activated <BOOL>
* 1: Zeus player <OBJECT>
*
* Return Value:
* None <NIL>
@ -17,6 +16,11 @@
#include "script_component.hpp"
if (isServer) then {
private ["_logic","_player","_birdType","_bird"];
_logic = _this select 0;
_player = _this select 1;
// Extracted from moduleCurator to toggle ascension messages
if (GVAR(zeusAscension)) then {
//--- Sent notification to all assigned players