Skip to content

Commit

Permalink
SUBADDON
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror committed Sep 13, 2023
1 parent d761e09 commit d9f4e73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions addons/jam/jam_csla/config.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "script_component.hpp"

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

0 comments on commit d9f4e73

Please sign in to comment.