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
|
// Wait for server settings to arrive
|
||||||
GVAR(SettingsInitialized) = false;
|
GVAR(SettingsInitialized) = false;
|
||||||
["ServerSettingsReceived", {
|
["ServerSettingsReceived", {
|
||||||
|
diag_log text format["[ACE] Settings received from server"];
|
||||||
// Load user settings from profile
|
// Load user settings from profile
|
||||||
if (hasInterface) then {
|
if (hasInterface) then {
|
||||||
call FUNC(loadSettingsFromProfile);
|
call FUNC(loadSettingsFromProfile);
|
||||||
@ -306,7 +307,7 @@ GVAR(SettingsInitialized) = false;
|
|||||||
if (isServer) then {
|
if (isServer) then {
|
||||||
call FUNC(loadSettingsOnServer);
|
call FUNC(loadSettingsOnServer);
|
||||||
// Raise a local event for other modules to listen too
|
// Raise a local event for other modules to listen too
|
||||||
["SettingsInitialized", []] call FUNC(localEvent);
|
["ServerSettingsReceived", []] call FUNC(localEvent);
|
||||||
};
|
};
|
||||||
|
|
||||||
ACE_player = player;
|
ACE_player = player;
|
||||||
|
Loading…
Reference in New Issue
Block a user