Don't bitch about the lack of an _info.cfg...
...if '.hg' exists at the root of the addon.
This commit is contained in:
parent
2a49badca1
commit
34f0f86ab4
1 changed files with 2 additions and 1 deletions
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue