Skip to content

Commit e7dbe0a

Browse files
Changed the upper limit of difficulty selection to 5 stars
Your not supposed to upload demons lol
1 parent 14325ff commit e7dbe0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ async fn main() {
12211221
if is_key_pressed(KeyCode::Left) && current_difficulty > 0 {
12221222
current_difficulty -= 1;
12231223
} else if is_key_pressed(KeyCode::Right)
1224-
&& current_difficulty < difficulties.len() as u8 - 1 {
1224+
&& current_difficulty < 5 {
12251225
current_difficulty += 1;
12261226
}
12271227

0 commit comments

Comments
 (0)