Skip to content

Commit

Permalink
Add version check if CBA is loaded (#22)
Browse files Browse the repository at this point in the history
* Add version checks if CBA is loaded

* Add logos
  • Loading branch information
Timi007 authored Jan 29, 2025
1 parent 7589602 commit 44a1ef4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

<p align="center">
<a href="https://github.com/Metis-Team/mts_nature/releases/latest">
<img src="https://img.shields.io/badge/Version-1.0.2-blue.svg?style=flat-square" alt="Metis Nature Version">
<img src="https://img.shields.io/github/v/release/Metis-Team/mts_nature?label=Version&style=flat-square" alt="Metis Nature Version">
</a>
<a href="https://github.com/Metis-Team/mts_nature/releases/latest">
<img src="https://img.shields.io/github/downloads/Metis-Team/mts_nature/total.svg?style=flat-square&label=Downloads" alt="Metis Nature Downloads">
<img src="https://img.shields.io/github/downloads/Metis-Team/mts_nature/total.svg?label=Downloads&logo=Github&style=flat-square" alt="Metis Nature Downloads">
</a>
<a href="https://steamcommunity.com/sharedfiles/filedetails/?id=1951690856">
<img src="https://img.shields.io/badge/Steam-Workshop-green.svg?style=flat-square" alt="Steam Workshop">
<img src="https://img.shields.io/badge/Steam-Workshop-green.svg?logo=Steam&style=flat-square" alt="Steam Workshop">
</a>
<a href="https://github.com/Metis-Team/mts_nature/blob/master/LICENSE">
<img src="https://img.shields.io/badge/License-APL--ND-red.svg?style=flat-square" alt="APL-ND License">
Expand Down
11 changes: 11 additions & 0 deletions addons/nature/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,16 @@ class CfgPatches {
};
};

// Add version checks if CBA is loaded
class CfgSettings {
class CBA {
class Versioning {
class ADDON {
main_addon = QUOTE(ADDON);
};
};
};
};

#include "CfgEditorCategories.hpp"
#include "CfgVehicles.hpp"

0 comments on commit 44a1ef4

Please sign in to comment.