#include "script_component.hpp"

["SettingsInitialized", {
    GVAR(categories) pushback "";  //Ensure All Catagories is at top
    {
        if !(_x select 8 in GVAR(categories)) then {
            GVAR(categories) pushback (_x select 8);
        };
    }foreach EGVAR(common,settings);
}] call EFUNC(common,addEventHandler);