game: 외교권자가 아니면 외교 메시지 알림 없음
This commit is contained in:
@@ -296,7 +296,11 @@ function _updateLatestMsg(msg: MsgItem) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (msgType == "diplomacy") {
|
if (msgType == "diplomacy") {
|
||||||
|
if (permissionLevel.value < 4){
|
||||||
|
return;
|
||||||
|
}
|
||||||
const [toastID, latestMsgID] = latestDiplomacyMsgToastInfo.value;
|
const [toastID, latestMsgID] = latestDiplomacyMsgToastInfo.value;
|
||||||
|
|
||||||
if (msg.id <= latestMsgID) {
|
if (msg.id <= latestMsgID) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user