등용장의 경우에도 누를수 없는 경우 수정

This commit is contained in:
2018-07-19 23:59:27 +09:00
parent 4cbe278bec
commit 340360d024
2 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -150,7 +150,12 @@ function redrawMsg(deferred){
msg.defaultIcon = pathConfig.sharedIcon+'/default.jpg';
msg.level = myGeneralLevel;
if(msgType == 'diplomacy'){
msg.allowButton = myGeneralLevel>4;
}
else{
msg.allowButton = true;
}
var msgHtml = TemplateEngine(messageTemplate, msg);