Skip to content

Commit

Permalink
Check if type is actually miss.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jousway committed Nov 22, 2022
1 parent 73824b5 commit 7a92e2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ std::string TapNoteScoreCalc(float tns, int Type, std::array<unsigned, 9>& TNSs,
TNSs[8] = 0;
return "TapNoteScore_MineHit";
}
if (input <= 0.001f)
if (input <= 0.001f && (Type == 3 || Type == 19))
{
++TNSs[5];
TNSs[8] = 0;
Expand Down Expand Up @@ -436,7 +436,7 @@ int main()

file.write(ini);

std::cout << "OpenSMO++ 1.0.1: By Jousway\n";
std::cout << "OpenSMO++ 1.0.2: By Jousway\n";
std::cout << ("Server Name: " + ServerName + "\n").c_str();
std::cout << ("Server (sm uses 128): " + std::to_string(ServerVersion) + "\n").c_str();
std::cout << ("Server Port: " + std::to_string(ServerPort) + "\n").c_str();
Expand Down

0 comments on commit 7a92e2d

Please sign in to comment.