Skip to content

Commit

Permalink
Merge pull request #6799 from dedmen/minedetectorPreStart
Browse files Browse the repository at this point in the history
Compile minedetector scripts at preStart
  • Loading branch information
commy2 authored Feb 8, 2019
2 parents 1d52a6c + 7a5ff30 commit 955fe43
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions addons/minedetector/CfgEventHandlers.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
class Extended_PreStart_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_preStart));
};
};
class Extended_PreInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_preInit));
Expand Down
3 changes: 3 additions & 0 deletions addons/minedetector/XEH_preStart.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "script_component.hpp"

#include "XEH_PREP.hpp"

0 comments on commit 955fe43

Please sign in to comment.