Fix bug in OneSixInstance's modification detection.

OneSixInstance would report all instances as custom because of a typo.
Thanks Clang :)
This commit is contained in:
Taeyeon Mori 2014-04-12 19:45:04 +02:00 committed by Petr Mrázek
parent e241c3625c
commit 1f498266d8

View File

@ -157,7 +157,7 @@ bool InstanceVersion::removeFtbPack()
bool InstanceVersion::isVanilla()
{
QDir patches(PathCombine(m_instance->instanceRoot(), "patches/"));
if(VersionPatches.size() > 1)
if(VersionPatches.size() >= 1)
return false;
if(QFile::exists(PathCombine(m_instance->instanceRoot(), "custom.json")))
return false;