Просмотр исходного кода

TvTEvent fix. By BinLaden and _DS_

DrHouse 16 лет назад
Родитель
Сommit
909af9fce0

+ 1 - 0
L2_GameServer/java/net/sf/l2j/gameserver/model/entity/TvTEvent.java

@@ -181,6 +181,7 @@ public class TvTEvent
 			if (allParticipants.size() == 0) break;
 			// The other team gets one player
 			// XXX: Code not dry
+			priority = 1-priority;
 			highestLevelPlayerId = highestLevelPcInstanceOf(allParticipants);
 			highestLevelPlayer = allParticipants.get(highestLevelPlayerId);
 			allParticipants.remove(highestLevelPlayerId);