mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-05 05:27:30 +08:00
[ongeki] Fix platinum score saving
This commit is contained in:
@@ -45,6 +45,8 @@ public class UserMusicDetail implements Serializable {
|
||||
|
||||
private int battleScoreRank;
|
||||
|
||||
private int platinumScoreMax;
|
||||
|
||||
private int maxComboCount;
|
||||
|
||||
private int maxOverKill;
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
-- ongeki_user_music_detail
|
||||
ALTER TABLE ongeki_user_music_detail ADD COLUMN platinum_score_max INTEGER;
|
||||
UPDATE ongeki_user_music_detail SET platinum_score_max=0;
|
||||
@@ -0,0 +1,3 @@
|
||||
-- ongeki_user_music_detail
|
||||
ALTER TABLE ongeki_user_music_detail ADD COLUMN platinum_score_max INTEGER;
|
||||
UPDATE ongeki_user_music_detail SET platinum_score_max=0;
|
||||
@@ -386,7 +386,7 @@ class OngekiRepositoryTest {
|
||||
}
|
||||
|
||||
private UserMusicDetail getMusicDetail(UserData u, Integer musicId) {
|
||||
return new UserMusicDetail(-1, u, musicId, 1, 1, 100, 1, 100, 1, 100, 100, 100, true, true, true, false, 1, true);
|
||||
return new UserMusicDetail(-1, u, musicId, 1, 1, 100, 1, 100, 1, 100, 100, 100, 0, true, true, true, false, 1, true);
|
||||
}
|
||||
|
||||
private UserMusicItem getMusicItem(UserData u, Integer musicId) {
|
||||
|
||||
Reference in New Issue
Block a user