Permalink
Browse files

Skip hidden files

  • Loading branch information...
1 parent 3899078 commit 7823d442205db84b601f48b28b475417e03e7526 Blixt committed Feb 27, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 web.js
View
@@ -131,8 +131,8 @@ if (document.starbounded.root.webkitdirectory) {
path = file.webkitRelativePath,
match;
- // Skip directories.
- if (file.name == '.') continue;
+ // Skip hidden files/directories.
+ if (file.name[0] == '.') continue;
if (file.name.match(/\.world$/)) {
addWorld(file);

0 comments on commit 7823d44

Please sign in to comment.