Skip to content

Commit

Permalink
use Extended_PreInit_EventHandlers to register CBA settings (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerZade authored Aug 18, 2024
1 parent c20c4fc commit f68fb6b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion addons/main/CfgFunctions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class CfgFunctions
class EHGetOut {};
class EHHandleDisconnect {};
class EHKilled {};
class registerCBASettings {postInit = 1};
class registerCBASettings {};
class weaponHolder {};
class whitelist {};
class isWhitelisted {};
Expand Down
6 changes: 6 additions & 0 deletions addons/main/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ class CfgPatches

#include "CfgVehicles.hpp"
#include "CfgFunctions.hpp"

class Extended_PreInit_EventHandlers {
class grad_slingHelmet_main {
init = "[] call GRAD_slingHelmet_fnc_registerCBASettings";
};
};

0 comments on commit f68fb6b

Please sign in to comment.