CSON string instead of CS
This commit is contained in:
parent
4aa6b88e97
commit
9a3ed1a58b
|
@ -101,7 +101,7 @@ gulp.task('procgen', () ->
|
|||
patterns = glob.readdirSync("game/procgen/#{language}/*.cson", {})
|
||||
json = {}
|
||||
for filename in patterns
|
||||
snippet = cson.parseCSString fs.readFileSync(filename)
|
||||
snippet = cson.parseCSONString fs.readFileSync(filename)
|
||||
if not snippet.groups?
|
||||
snippet.groups = []
|
||||
if snippet.phrases?
|
||||
|
|
Loading…
Reference in a new issue