Skip to content

Commit

Permalink
don't use settings.sqf file, fix #425
Browse files Browse the repository at this point in the history
  • Loading branch information
commy2 committed Jul 12, 2016
1 parent 76ab225 commit 8c46c9d
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 33 deletions.
8 changes: 0 additions & 8 deletions addons/settings/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,4 @@ if (isServer) then {
}] call CBA_fnc_addEventHandler;
};

// import settings from file if filepatching is enabled
if (isFilePatchingEnabled) then {
[loadFile PATH_SETTINGS_FILE, "client"] call FUNC(import);
diag_log text "[CBA] (settings): Settings file loaded.";
} else {
diag_log text "[CBA] (settings): Cannot load settings file. File patching disabled. Use -filePatching flag.";
};

ADDON = true;
2 changes: 0 additions & 2 deletions addons/settings/script_component.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
#define DEBUG_SETTINGS DEBUG_SETTINGS_SETTINGS
#endif

#define PATH_SETTINGS_FILE "userconfig\cba\settings.sqf"

#define IDC_ADDONS_GROUP 4301
#define IDC_BTN_CONFIGURE_ADDONS 4302
#define IDC_BTN_CLIENT 9000
Expand Down
1 change: 0 additions & 1 deletion addons/settings_helper/$PBOPREFIX$

This file was deleted.

Empty file.
Empty file.
19 changes: 0 additions & 19 deletions addons/settings_helper/config.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions addons/settings_helper/script_component.hpp

This file was deleted.

0 comments on commit 8c46c9d

Please sign in to comment.