Skip to content

Commit

Permalink
Revert "Change GameVersion to EngineVersion"
Browse files Browse the repository at this point in the history
This reverts commit 2b0b041.
  • Loading branch information
EliteAsian123 committed Nov 14, 2023
1 parent 2b0b041 commit bd4ce6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Assets/Script/Scores/GameRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class GameRecord
[Indexed]
public byte[] SongChecksum { get; set; }

public int EngineVersion { get; set; }
public string GameVersion { get; set; }

// Keep this information in case the user doesn't have the song
public string SongName { get; set; }
Expand Down
3 changes: 1 addition & 2 deletions Assets/Script/Scores/ScoreContainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ public static void RecordScore(GameRecord gameRecord, List<PlayerScoreRecord> pl
int rowsAdded = 0;

// Add the game record
// TODO: Keep track of engine versions
gameRecord.EngineVersion = 0;
gameRecord.GameVersion = GlobalVariables.CURRENT_VERSION;
rowsAdded += _db.Insert(gameRecord);

// Assign the proper score entry IDs and checksums
Expand Down

0 comments on commit bd4ce6e

Please sign in to comment.