등용장의 경우에도 누를수 없는 경우 수정
This commit is contained in:
+6
-1
@@ -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);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user