mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-10 18:42:53 +08:00
Dungeon challenge success/fail notify should only be triggered once (when server spawned mob more than score)
This commit is contained in:
parent
3d52964112
commit
5e0e65123e
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user