diff --git a/sonorancad/submodules/ts3integration/sv_ts3integration.js b/sonorancad/submodules/ts3integration/sv_ts3integration.js index bb5dd43..12e5cd2 100644 --- a/sonorancad/submodules/ts3integration/sv_ts3integration.js +++ b/sonorancad/submodules/ts3integration/sv_ts3integration.js @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program in the file "LICENSE". If not, see . */ const { TeamSpeak, QueryProtocol } = require("ts3-nodejs-library"); -const configFilePath = path.join(__dirname, "../../configuration/ts3integration_config.json"); -const distFilePath = path.join(__dirname, "../../configuration/ts3integration_config.dist.json"); +const configFilePath = path.join(GetResourcePath(GetCurrentResourceName()), "/configuration/ts3integration_config.json"); +const distFilePath = path.join(GetResourcePath(GetCurrentResourceName()), "/configuration/ts3integration_config.dist.json"); var clientsToAdd = []; var clientsToRemove = [];