diff --git a/game/game.js b/game/game.js index c1695b87b..bf6256bc6 100644 --- a/game/game.js +++ b/game/game.js @@ -25318,7 +25318,7 @@ isFriendOf:function(player){ if(get.mode()=='guozhan'){ if(this==player) return true; - if(this.storage.yexinjia_friend==player||player.storage.yexinjia_friend==this) return true; + if(this.getStorage('yexinjia_friend').includes(player)||player.getStorage('yexinjia_friend').includes(this)) return true; if(this.identity=='unknown'||this.identity=='ye') return false; if(player.identity=='unknown'||player.identity=='ye') return false; return this.identity==player.identity;