aboutsummaryrefslogtreecommitdiff
path: root/old/minetest.sln
diff options
context:
space:
mode:
authorMatthew I <matttpt@gmail.com>2012-10-07 10:03:22 -0400
committerPerttu Ahola <celeron55@gmail.com>2012-11-30 21:41:50 +0200
commit6cf87e1d23d829cc0d5c07160e8135ff5887d90d (patch)
tree1a1b6a0787c5e038d8bf2cd8a9718e2c7896c7a8 /old/minetest.sln
parent8a93581c8ab457819a258286aca4ef4359d80877 (diff)
downloadminetest-6cf87e1d23d829cc0d5c07160e8135ff5887d90d.tar.gz
minetest-6cf87e1d23d829cc0d5c07160e8135ff5887d90d.tar.bz2
minetest-6cf87e1d23d829cc0d5c07160e8135ff5887d90d.zip
Ignore directories beginning with a "." when searching for mods
This is not a problem on POSIX systems (these directories are ignored by the POSIX implementation of fs::GetDirListing() in filesys.cpp), but these directories still are reported on Windows systems. This becomes a problem when mod authors use version control systems that create directories like ".git" or ".svn" and collectMods() picks up on them. It has also been suggested that ignoring such directories would allow for the easily disabling mods by inserting a "." in front of their name. This quick fix simply makes collectMods() ignore directories beginning with a ".".
Diffstat (limited to 'old/minetest.sln')
0 files changed, 0 insertions, 0 deletions