diff --git a/arma/server/addons/actor/XEH_postInit.sqf b/arma/server/addons/actor/XEH_postInit.sqf index d1d67ea..d06a0ed 100644 --- a/arma/server/addons/actor/XEH_postInit.sqf +++ b/arma/server/addons/actor/XEH_postInit.sqf @@ -2,7 +2,7 @@ if (isNil QEGVAR(common,EventBus)) then { call EFUNC(common,eventBus); }; if (isNil QGVAR(BankAccountCreatedEventTokens)) then { - private _bootstrapNewActorFromBankAccount = { + private _welcomeNewActor = { params ["_event"]; private _uid = _event getOrDefault ["uid", ""]; @@ -19,10 +19,10 @@ if (isNil QGVAR(BankAccountCreatedEventTokens)) then { _actor set ["uid", _uid]; }; - GVAR(ActorStore) call ["bootstrapNewActor", [_uid, _actor]]; + GVAR(ActorStore) call ["welcomeNewActor", [_uid, _actor]]; }; GVAR(BankAccountCreatedEventTokens) = [ - EGVAR(common,EventBus) call ["on", ["bank.account.created", _bootstrapNewActorFromBankAccount, "actor.newActor.bootstrap"]] + EGVAR(common,EventBus) call ["on", ["bank.account.created", _welcomeNewActor, "actor.newActor.welcome"]] ]; }; diff --git a/arma/server/addons/actor/functions/fnc_initActorStore.sqf b/arma/server/addons/actor/functions/fnc_initActorStore.sqf index 88171d3..8f60179 100644 --- a/arma/server/addons/actor/functions/fnc_initActorStore.sqf +++ b/arma/server/addons/actor/functions/fnc_initActorStore.sqf @@ -203,7 +203,7 @@ GVAR(ActorBaseStore) = compileFinal createHashMapFromArray [ true }], - ["bootstrapNewActor", compileFinal { + ["welcomeNewActor", compileFinal { params [["_uid", "", [""]], ["_actor", createHashMap, [createHashMap]]]; if (_uid isEqualTo "") exitWith { false };