Browse Source

fix image name in skin file

master
poikilos 6 years ago
committed by Jacob Gustafson
parent
commit
d1084ebe9e
  1. 2
      webapp/server.js

2
webapp/server.js

@ -355,7 +355,7 @@ app.post('/set-skin', function (req, res){
next(err); next(err);
} }
else { else {
fs.writeFile(indirectPath, destNameNoExt + ".skin", function(err, data) { fs.writeFile(indirectPath + ".png", destNameNoExt + ".skin", function(err, data) {
if (err) console.log(err); if (err) console.log(err);
console.log("Successfully wrote " + destNameNoExt console.log("Successfully wrote " + destNameNoExt
+ " to "+indirectPath+"."); + " to "+indirectPath+".");

Loading…
Cancel
Save