diff --git a/module.json b/module.json index 3288577..a1e0f3f 100644 --- a/module.json +++ b/module.json @@ -6,7 +6,7 @@ "authors": [ { "name": "Robin Riis" } ], - "version": "0.1.3", + "version": "0.1.4", "socket": true, "minimumCoreVersion": 10, "compatibility": { diff --git a/scripts/puckochat/main.js b/scripts/puckochat/main.js index e1c764a..16c20d9 100644 --- a/scripts/puckochat/main.js +++ b/scripts/puckochat/main.js @@ -9,7 +9,7 @@ Hooks.on("ready", async function() { }); Hooks.on("chatMessage", (log, message, data) => { - to_send = ""; + let to_send = ""; console.log("[puckoprutt] chat!"); if(message[0] === "!") to_send = puckocommand(isGM, user, world, log, message.slice(1).split(" "), data);