added ns in CONFIG.l5r5e.systemName

This commit is contained in:
Vlyan
2023-01-08 10:32:35 +01:00
parent 5fbb34d882
commit 1ec9e65ca5
15 changed files with 61 additions and 62 deletions

View File

@@ -54,7 +54,7 @@ export class SocketHandlerL5r5e {
_onDeleteChatMessage(payload) {
// Only delete the message if the user is a GM (otherwise it has no real effect)
// Currently only used in RnK
if (!game.user.isFirstGM || !game.settings.get("l5r5e", "rnk-deleteOldMessage")) {
if (!game.user.isFirstGM || !game.settings.get(CONFIG.l5r5e.systemName, "rnk-deleteOldMessage")) {
return;
}
game.messages.get(payload.messageId)?.delete();