Apply PR feedback
This commit is contained in:
parent
4eecd15acf
commit
e18b01e425
2 changed files with 1 additions and 8 deletions
|
|
@ -9,7 +9,7 @@ const events = {
|
|||
export function registerSockets() {
|
||||
Logger.info(`Setting up socket listener`);
|
||||
|
||||
game.socket.on(`system.${game.system.id}`, (data, userID) => {
|
||||
game.socket.on(`system.ripcrypt`, (data, userID) => {
|
||||
const { event, payload } = data ?? {};
|
||||
if (event == null || payload === undefined) {
|
||||
ui.notifications.error(localizer(`RipCrypt.notifs.error.invalid-socket`));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue