Commit be2d80ae authored by nanahira's avatar nanahira

fix

parent a125fbe9
...@@ -59,10 +59,10 @@ try ...@@ -59,10 +59,10 @@ try
fs.writeFileSync(oldtips.file, JSON.stringify(oldtips, null, 2)) fs.writeFileSync(oldtips.file, JSON.stringify(oldtips, null, 2))
delete oldconfig.tips delete oldconfig.tips
if oldconfig.words if oldconfig.words
oldtips = {} oldwords = {}
oldtips.file = './config/words.json' oldwords.file = './config/words.json'
oldtips.words = oldconfig.words oldwords.words = oldconfig.words
fs.writeFileSync(oldtips.file, JSON.stringify(oldtips, null, 2)) fs.writeFileSync(oldwords.file, JSON.stringify(oldwords, null, 2))
delete oldconfig.words delete oldconfig.words
if oldconfig.dialogues if oldconfig.dialogues
olddialogues = {} olddialogues = {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment