fix/use UserID instead of ServerID

This commit is contained in:
SowinskiBraeden committed 2023-09-10 19:36:02 -07:00
1 parent 7e98ed2e49
commit 52ae46857d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "dayzr-bot",
"version": "10.0.4",
"version": "10.0.5",
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
"main": "index.js",
"nodemonConfig": {
+1 -1
View File
@@ -224,7 +224,7 @@ module.exports = {
const posted = await PostServerSettings(client, "config", "disableBaseDamage", pref);
if (posted == 1) return 1;
const remoteDir = `/games/${client.config.Nitrado.ServerID}/ftproot/dayzxb_missions/dayzOffline.chernarusplus`;
const remoteDir = `/games/${client.config.Nitrado.UserID}/ftproot/dayzxb_missions/dayzOffline.chernarusplus`;
const remoteFilename = 'cfggameplay.json';
const jsonDir = `../logs/${remoteFilename}`;