Skip to content

Commit

Permalink
can't write empty input data
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jun 3, 2017
1 parent 6219b9b commit 1c1c3e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/StageStats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ static HighScore FillInHighScore(const PlayerStageStats &pss, const PlayerState
// this whole thing needs to be redone, ssr calculation should be moved into highscore -mina
hs.SetSSRCalcVersion(GetCalcVersion());

hs.WriteInputData(pss.InputData);

if (!pss.InputData.empty())
hs.WriteInputData(pss.InputData);
return hs;
}

Expand Down

0 comments on commit 1c1c3e3

Please sign in to comment.