mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix event names
This commit is contained in:
parent
ca94fd4c78
commit
d189cffce6
@ -294,6 +294,7 @@ ACE_COUNTERS = [];
|
||||
// Wait for server settings to arrive
|
||||
GVAR(SettingsInitialized) = false;
|
||||
["ServerSettingsReceived", {
|
||||
diag_log text format["[ACE] Settings received from server"];
|
||||
// Load user settings from profile
|
||||
if (hasInterface) then {
|
||||
call FUNC(loadSettingsFromProfile);
|
||||
@ -306,7 +307,7 @@ GVAR(SettingsInitialized) = false;
|
||||
if (isServer) then {
|
||||
call FUNC(loadSettingsOnServer);
|
||||
// Raise a local event for other modules to listen too
|
||||
["SettingsInitialized", []] call FUNC(localEvent);
|
||||
["ServerSettingsReceived", []] call FUNC(localEvent);
|
||||
};
|
||||
|
||||
ACE_player = player;
|
||||
|
Loading…
Reference in New Issue
Block a user