Skip to content

Commit

Permalink
Forgot to add max combo information to result packet
Browse files Browse the repository at this point in the history
  • Loading branch information
HolySkyMin committed Jan 27, 2020
1 parent 0c51255 commit d6ad863
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Assets/Plugins/TSystem/Scripts/IngameBasis.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ public void EndGame()
{
songName = Packet.songName,
judgeList = judge.ExportJudgeResult(),
maxCombo = judge.maxCombo,
gameMode = Mode,
beatmap = Packet.beatmap,
autoPlay = Packet.autoPlay,
Expand Down
2 changes: 1 addition & 1 deletion Assets/Plugins/TSystem/Scripts/JudgeBasis.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ public class JudgeBasis : MonoBehaviour

[HideInInspector] public int score;
[HideInInspector] public int comboCount;
[HideInInspector] public int maxCombo = 0;
[HideInInspector] public float percentage;
[System.NonSerialized] public Dictionary<float, List<int>> noteQueue = new Dictionary<float, List<int>>();

protected Dictionary<JudgeType, int> judgeResult = new Dictionary<JudgeType, int>();
protected int maxCombo = 0;

public void AddLine(float line)
{
Expand Down
1 change: 1 addition & 0 deletions Assets/Plugins/TSystem/Scripts/ResultPacket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ public class ResultPacket
public TSystemMode gameMode;
public BeatmapData beatmap;
public Dictionary<JudgeType, int> judgeList;
public int maxCombo;
}
}

0 comments on commit d6ad863

Please sign in to comment.