Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
Update labels.cpp
Browse files Browse the repository at this point in the history
Changed first letter of difficulties to capital, for a pr obv
  • Loading branch information
dckrell authored Mar 18, 2024
1 parent aabc814 commit c830664
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/shared/hacks/labels/labels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -430,31 +430,31 @@ namespace openhack::hacks {
if (level->isDemon()) {
switch (level->m_demonDifficulty()) {
case 3:
return "easy_demon";
return "Easy_demon";
case 4:
return "medium_demon";
return "Medium_demon";
case 5:
return "insane_demon";
return "Insane_demon";
case 6:
return "extreme_demon";
return "Extreme_demon";
default:
return "hard_demon";
return "Hard_demon";
}
}

switch (level->m_difficulty()) {
case gd::GJDifficulty::Easy:
return "easy";
return "Easy";
case gd::GJDifficulty::Normal:
return "normal";
return "Normal";
case gd::GJDifficulty::Hard:
return "hard";
return "Hard";
case gd::GJDifficulty::Harder:
return "harder";
return "Harder";
case gd::GJDifficulty::Insane:
return "insane";
return "Insane";
case gd::GJDifficulty::Demon:
return "hard_demon";
return "Hard_demon";
default:
return "na";
}
Expand Down Expand Up @@ -701,4 +701,4 @@ namespace openhack::hacks {
config::setGlobal("frame", frame);
config::setGlobal("hasClicked", false);
}
}
}

0 comments on commit c830664

Please sign in to comment.