From b512b2dce3df54150caad84bed9b28bbce8fef7a Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Sat, 2 Dec 2023 10:32:17 +0800 Subject: [PATCH] bugfix --- mode/versus.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mode/versus.js b/mode/versus.js index f94f1f831..9ad131a22 100644 --- a/mode/versus.js +++ b/mode/versus.js @@ -7075,8 +7075,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ else if(friend&&friend.replacetwo){ game.replacePlayerTwo(this,friend.replacetwo); delete friend.replacetwo; - if(get.config('olfeiyang_four')&&friend==_status.firstAct.previous){ - friend.addSkill('olfeiyang'); + if(get.config('olfeiyang_four')&&this==_status.firstAct.previous){ + this.addSkill('olfeiyang'); } } else{