Commit 5e0e6512 authored by EtherealAO's avatar EtherealAO Committed by Melledy
Browse files

Dungeon challenge success/fail notify should only be triggered once (when...

Dungeon challenge success/fail notify should only be triggered once (when server spawned mob more than score)
parent 3d529641
...@@ -140,7 +140,7 @@ public class DungeonChallenge { ...@@ -140,7 +140,7 @@ public class DungeonChallenge {
getScene().broadcastPacket(new PacketChallengeDataNotify(this, 1, getScore())); getScene().broadcastPacket(new PacketChallengeDataNotify(this, 1, getScore()));
if (getScore() >= getObjective()) { if (getScore() >= getObjective() && this.progress) {
this.setSuccess(true); this.setSuccess(true);
finish(); finish();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment