Skip to content

Commit

Permalink
Update XEH_preInit.sqf
Browse files Browse the repository at this point in the history
  • Loading branch information
johnb432 committed Aug 9, 2024
1 parent 32bdb34 commit 792616e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/disposable/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ private _cfgMagazines = configFile >> "CfgMagazines";
// Get case-sensitive config names
private _configLauncher = _cfgWeapons >> configName _x;
private _launcher = configName _configLauncher;
private _magazine = (compatibleMagazines (configName _x)) select 0;
private _magazine = (compatibleMagazines _launcher) select 0;

if (_magazine == "") then {
ERROR_1("Launcher %1 has an undefined magazine.",_launcher);
Expand Down

0 comments on commit 792616e

Please sign in to comment.