Skip to content

Commit

Permalink
Subcomponent optionals
Browse files Browse the repository at this point in the history
  • Loading branch information
jonpas committed Sep 9, 2023
1 parent 80723e8 commit 8d326dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions optionals/legacy_jr/legacy_jr_prep/config.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#include "script_component.hpp"

class CfgPatches {
class ADDON {
class SUBADDON {
author = "$STR_CBA_Author";
name = ECSTRING(legacy_jr,component);
name = CSTRING(component);
url = "$STR_CBA_URL";
units[] = {};
weapons[] = {};
Expand Down
5 changes: 2 additions & 3 deletions optionals/legacy_jr/legacy_jr_prep/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
#define COMPONENT legacy_jr_prep
#include "\x\cba\addons\main\script_mod.hpp"
#include "\x\cba\addons\main\script_macros.hpp"
#define SUBCOMPONENT prep
#include "\x\cba\addons\legacy_jr\script_component.hpp"

0 comments on commit 8d326dd

Please sign in to comment.