Skip to content

Commit

Permalink
Fix out of bounds error
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Sep 22, 2024
1 parent 4202e41 commit 19c6728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rs/server/src/handlews.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1577,7 +1577,7 @@ pub async fn handle_ws(
etg::etg::NymphList[if element > 0 && element < 13 {
element as usize
} else {
1 + rng.upto(13) as usize
1 + rng.upto(12) as usize
}]
} else {
let notfromele = rng.upto(3) == 0;
Expand Down

0 comments on commit 19c6728

Please sign in to comment.