Skip to content

Commit

Permalink
Add postInit warning message that debug mode is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
3Mydlo3 committed Apr 13, 2024
1 parent c51d3d3 commit d9f9da9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions addons/common/XEH_postInit.sqf
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#include "script_component.hpp"

#ifdef DEBUG_MODE_FULL
WARNING("Debug mode is enabled. It might reveal information, don't use it for normal gameplay!");
#endif

// Killswitch
if (!EGVAR(common,enabled)) exitWith {
WARNING("Mission is missing 'SK' gameType Header. SerialKillers framework will be disabled.");
Expand Down

0 comments on commit d9f9da9

Please sign in to comment.