Skip to content

Commit

Permalink
Merge pull request #1078 from CBATeam/rc2Cleanup
Browse files Browse the repository at this point in the history
Fix missing base class in JAM and fix versioning caching
  • Loading branch information
ViperMaul committed Feb 23, 2019
2 parents f9b748e + bc5bb82 commit 58b9440
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions addons/jam/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ class CfgWeapons {
class Rifle_Base_F;
class Rifle_Long_Base_F;
class Launcher_Base_F;
class Rifle_Short_Base_F;

class mk20_base_F: Rifle_Base_F {
magazineWell[] = {"CBA_556x45_STANAG", "CBA_556x45_STANAG_L", "CBA_556x45_STANAG_XL", "CBA_556x45_STANAG_2D"};
Expand Down
2 changes: 1 addition & 1 deletion addons/versioning/CfgEventHandlers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ class Extended_PostInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_postInit));
serverInit = QUOTE(call COMPILE_FILE(XEH_postInitServer));
clientInit = QUOTE(if !(isServer) then {call COMPILE_FILE(XEH_postInitClient)});
clientInit = QUOTE(call COMPILE_FILE(XEH_postInitClient));
};
};
2 changes: 2 additions & 0 deletions addons/versioning/XEH_postInitClient.sqf
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "script_component.hpp"

if (isServer) exitWith {};

SLX_XEH_STR spawn {
waitUntil {!(isNil QGVAR(versions_serv))};
if (!SLX_XEH_DisableLogging) then {
Expand Down

0 comments on commit 58b9440

Please sign in to comment.