diff options
Diffstat (limited to 'logic/OneSixInstance.cpp')
-rw-r--r-- | logic/OneSixInstance.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/logic/OneSixInstance.cpp b/logic/OneSixInstance.cpp index ccc25845..24d54446 100644 --- a/logic/OneSixInstance.cpp +++ b/logic/OneSixInstance.cpp @@ -320,6 +320,17 @@ bool OneSixInstance::versionIsCustom() || QFile::exists(PathCombine(instanceRoot(), "user.json")); } +bool OneSixInstance::versionIsFTBPack() +{ + I_D(const OneSixInstance); + auto ver = d->version; + if(ver) + { + return ver->hasFtbPack(); + } + return false; +} + QString OneSixInstance::currentVersionId() const { return intendedVersionId(); |