1
0
mirror of https://git.ngram.ca/OpenJam/rc-servers synced 2026-08-23 23:08:52 +00:00

Update dependencies with breaking changes

This commit is contained in:
NG (Graham)
2026-05-04 21:53:29 -04:00
parent 10fb01de58
commit a222745841
14 changed files with 822 additions and 238 deletions

View File

@@ -1,4 +1,4 @@
use rand::Rng;
use rand::RngExt;
use byteserde::ser_heap::ByteSerializeHeap;
pub struct ExperimentalPlayer {

View File

@@ -1,4 +1,4 @@
use rand::Rng;
use rand::RngExt;
use crate::matches::CustomGameLogic;

View File

@@ -42,7 +42,7 @@ impl ScoreTracker {
} else if other_teams.len() == 1 {
other_teams[0]
} else {
use rand::Rng;
use rand::RngExt;
let index = rand::rng().random_range(0..other_teams.len());
other_teams[index]
};