Broadcast the notify event when a cryptic event happens
This commit is contained in:
parent
e06c500b5c
commit
dad9ab860c
1 changed files with 7 additions and 0 deletions
|
|
@ -228,6 +228,13 @@ export class DelveDiceHUD extends HandlebarsApplicationMixin(ApplicationV2) {
|
|||
localizer(`RipCrypt.notifs.info.cryptic-event-alert`),
|
||||
{ console: false },
|
||||
);
|
||||
game.socket.emit(`system.ripcrypt`, {
|
||||
event: `notify`,
|
||||
payload: {
|
||||
message: `RipCrypt.notifs.info.cryptic-event-alert`,
|
||||
type: `info`,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
if ([`both`, `pause`].includes(alertType) && game.user.isGM) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue