Skip to content

Commit

Permalink
Updated classnames to prep for rebasing
Browse files Browse the repository at this point in the history
Changed the classname from GVAR(LAMG) to a permanent "potato_lmg_LAMG" in order to prevent classname changes for when this gets rebased to the new customGear addon.
  • Loading branch information
AChesheireCat committed Nov 7, 2024
1 parent 32c12ce commit 995f46a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions addons/miscFixes/fauxLAMG/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class CfgWeapons {
class short;
class Single;
};
class GVAR(LAMG): LMG_Mk200_F {
class potato_lmg_LAMG: LMG_Mk200_F {
class ACE_Burst_far: ACE_Burst_far {
OVERRIDE_SOUND;
};
Expand Down Expand Up @@ -91,7 +91,7 @@ class CfgWeapons {
magazineWell[] = {"CBA_556x45_MINIMI"};
magazines[] = {"CUP_100Rnd_TE4_Red_Tracer_556x45_M249"};
};
class GVAR(LAMG_black): GVAR(LAMG) {
class potato_lmg_LAMG_black: potato_lmg_LAMG {
author = "Potato";
displayName = "KAC Light Assault Machine Gun (Black)";
baseWeapon = QGVAR(LAMG_black);
Expand Down
3 changes: 2 additions & 1 deletion addons/miscFixes/fauxLAMG/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
class CfgPatches {
class ADDON {
weapons[] = {
QGVAR(LAMG), QGVAR(LAMG_black)
"potato_lmg_LAMG",
"potato_lmg_LAMG_black"
};
units[] = {};
requiredVersion = REQUIRED_VERSION;
Expand Down

0 comments on commit 995f46a

Please sign in to comment.