Dungeon challenge success/fail notify should only be triggered once (when server spawned mob more than score)

This commit is contained in:
EtherealAO 2022-05-04 16:34:47 +08:00 committed by Melledy
parent 3d52964112
commit 5e0e65123e

View File

@ -140,7 +140,7 @@ public class DungeonChallenge {
getScene().broadcastPacket(new PacketChallengeDataNotify(this, 1, getScore()));
if (getScore() >= getObjective()) {
if (getScore() >= getObjective() && this.progress) {
this.setSuccess(true);
finish();
}