game: 외교권자가 아니면 외교 메시지 알림 없음

This commit is contained in:
2023-03-19 16:51:06 +09:00
parent 457aa0e4a5
commit fb9e750fe2
+4
View File
@@ -296,7 +296,11 @@ function _updateLatestMsg(msg: MsgItem) {
}
if (msgType == "diplomacy") {
if (permissionLevel.value < 4){
return;
}
const [toastID, latestMsgID] = latestDiplomacyMsgToastInfo.value;
if (msg.id <= latestMsgID) {
return;
}