Fix a typo in copy-pasted code
This commit is contained in:
@@ -44,7 +44,7 @@ func LoadSets(dir string) (map[string]*MapSet, error) {
|
||||
basename := filepath.Base(filename)
|
||||
extname := filepath.Ext(filename)
|
||||
|
||||
// Don't try to load non-.obj files
|
||||
// Don't try to load non-.set files
|
||||
if !strings.EqualFold(extname, ".set") {
|
||||
continue
|
||||
}
|
||||
|
Reference in New Issue
Block a user