Extract constants for SYSTEM / SOCKET
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import { RdDItemCompetence } from "./item-competence.js";
|
||||
import { Misc } from "./misc.js";
|
||||
import { SYSTEM_SOCKET_ID } from "./constants.js";
|
||||
|
||||
|
||||
/**
|
||||
@ -74,7 +75,7 @@ export class RdDAstrologieJoueur extends Dialog {
|
||||
if (Misc.isUniqueConnectedGM()) {
|
||||
game.system.rdd.calendrier.requestNombreAstral(data);
|
||||
} else {
|
||||
game.socket.emit("system.foundryvtt-reve-de-dragon", {
|
||||
game.socket.emit(SYSTEM_SOCKET_ID, {
|
||||
msg: "msg_request_nombre_astral",
|
||||
data: data
|
||||
});
|
||||
|
Reference in New Issue
Block a user