mirror of https://github.com/hykilpikonna/AquaDX
[ongeki] Fix platinum score saving
parent
a895f6943b
commit
a5fc2ed418
|
@ -45,6 +45,8 @@ public class UserMusicDetail implements Serializable {
|
||||||
|
|
||||||
private int battleScoreRank;
|
private int battleScoreRank;
|
||||||
|
|
||||||
|
private int platinumScoreMax;
|
||||||
|
|
||||||
private int maxComboCount;
|
private int maxComboCount;
|
||||||
|
|
||||||
private int maxOverKill;
|
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) {
|
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) {
|
private UserMusicItem getMusicItem(UserData u, Integer musicId) {
|
||||||
|
|
Loading…
Reference in New Issue