WIP - rebuilding translator

This commit is contained in:
Raum0x2A
2021-05-20 14:33:33 -06:00
parent a0d9dbd269
commit ab420a0a44
3 changed files with 48 additions and 175 deletions

View File

@@ -54,7 +54,7 @@ func init() {
if err != nil {
panic(errors.New("can not load: " + fileloc[x]))
}
err = ioutil.WriteFile(NmsTemp+"/"+fileloc[x], []byte(data), 0644)
err = ioutil.WriteFile(NmsTemp+"/assets/lang/"+fileloc[x], []byte(data), 0644)
if err != nil {
panic(errors.New("can not write " + fileloc[x] + " to temp dir"))
}