Skip to content

Commit

Permalink
Add settings to preInit
Browse files Browse the repository at this point in the history
  • Loading branch information
veteran29 committed Mar 21, 2020
1 parent 823f227 commit b6be99d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
7 changes: 7 additions & 0 deletions addons/unflipping/CfgEventHandlers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@ class Extended_PostInit_EventHandlers
clientInit = "call compile preprocessFileLineNumbers 'vet\unflipping\XEH_postInitClient.sqf'";
};
};
class Extended_PreInit_EventHandlers
{
class vet_unflipping
{
init = "call compile preprocessFileLineNumbers 'vet\unflipping\XEH_preInit.sqf'";
};
};
2 changes: 0 additions & 2 deletions addons/unflipping/XEH_postInitClient.sqf
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#include "initSettings.sqf"

#define PLAYER ([] call CBA_fnc_currentUnit)

["vet_unflipping_unflip_start_client", {
Expand Down
2 changes: 0 additions & 2 deletions addons/unflipping/XEH_postInitServer.sqf
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#include "initSettings.sqf"

#define UNFLIP_CHECK_WAITTIME 4
#define UNFLIP_FORCEFACTOR_STEP 0.2
#define UNFLIP_FORCEFACTOR_MAX 5
Expand Down
1 change: 1 addition & 0 deletions addons/unflipping/XEH_preInit.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "initSettings.sqf"

0 comments on commit b6be99d

Please sign in to comment.