寻宝:单排玩家强退
This commit is contained in:
@@ -81,7 +81,7 @@ export function checkComBattleResult(teamStatus) {
|
||||
// 看看是否还有活人
|
||||
teamStatus.roleStatus.forEach(st => {
|
||||
// 设置了阵容,且阵容人数和阵亡人数一样,说明玩家战败
|
||||
if (!st.isRobot && st.heroes && ((st.heroes.length > 0 && st.killed.length < st.heroes.length) || st.heroes.length === 0)) {
|
||||
if (!st.isRobot && st.battleStatus != 2 && st.heroes && ((st.heroes.length > 0 && st.killed.length < st.heroes.length) || st.heroes.length === 0 )) {
|
||||
allPlayerKilled = false
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user