Skip to content

Commit e4f051c

Browse files
committed
Stop resetting playcounts / pass counts when beatmaps are ranked
As discussed in ppy/osu#32451.
1 parent d651ae3 commit e4f051c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/Models/Beatmapset.php

-2
Original file line numberDiff line numberDiff line change
@@ -847,8 +847,6 @@ public function rank()
847847
DB::transaction(function () {
848848
$this->events()->create(['type' => BeatmapsetEvent::RANK]);
849849

850-
$this->update(['play_count' => 0]);
851-
$this->beatmaps()->update(['playcount' => 0, 'passcount' => 0]);
852850
$this->setApproved('ranked', null);
853851
$this->bssProcessQueues()->create();
854852

0 commit comments

Comments
 (0)