mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Providing correct parameters
This commit is contained in:
parent
c458deeae2
commit
60ade8deaa
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user