Don't bitch about the lack of an _info.cfg...

...if '.hg' exists at the root of the addon.
This commit is contained in:
Steven Panek 2011-03-01 02:32:44 +00:00
parent 2a49badca1
commit 34f0f86ab4

View file

@ -1507,7 +1507,8 @@ void refresh_addon_version_info_cache()
else if (!file_exists(parentd+"/"+addon+".pbl")
&& !file_exists(parentd+"/"+addon+"/_server.pbl")
&& !file_exists(parentd+"/"+addon+"/.svn")
&& !file_exists(parentd+"/"+addon+"/.git")) {
&& !file_exists(parentd+"/"+addon+"/.git")
&& !file_exists(parentd+"/"+addon+"/.hg")) {
WRN_CFG << "add-on '" << addon << "' has no _info.cfg; cannot read version info\n";
}
}