From 19c67285c19261a1699de15f98ebb953fd31ded8 Mon Sep 17 00:00:00 2001 From: Demur Rumed Date: Sun, 22 Sep 2024 21:37:47 +0000 Subject: [PATCH] Fix out of bounds error --- src/rs/server/src/handlews.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rs/server/src/handlews.rs b/src/rs/server/src/handlews.rs index eefed93f..5e8002e5 100644 --- a/src/rs/server/src/handlews.rs +++ b/src/rs/server/src/handlews.rs @@ -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;