Skip to content

Commit

Permalink
Add CBA 2.3.1 to versioning check
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror committed Mar 2, 2016
1 parent f135179 commit e6a5d2d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions addons/main/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -588,3 +588,16 @@ class CfgMods {

#include "CfgModuleCategories.hpp"
#include "CfgVehicleClasses.hpp"

class CfgSettings {
class CBA {
class Versioning {
class ACE {
class dependencies {
CBA[] = {"cba_main", {2,3,1}, "true"};
};
};
};
};
};

1 comment on commit e6a5d2d

@ViperMaul
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend we make use of https://github.com/acemod/ACE3/blob/cbaVersioning/addons/main/script_mod.hpp as this is the file we go to for required version changes.

We already have

define REQUIRED_VERSION 1.56

I suggest something like

define REQUIRED_CBA_VERSION {2,3,1}

It gives us one less place to go to make minimum version changes.

Please sign in to comment.