Fix some clippy warnings

This commit is contained in:
NG (Graham) committed 2025-10-02 21:52:35 -04:00
1 parent aa690007b7
commit 214599ce9a
3 files changed
+4 -4

No files matched your search

@@ -259,7 +259,7 @@ impl TeamDeathMatchLogic {
async fn do_respawn_tasks(&self, generic: &crate::matches::GenericGamemodeEngine<Self>, player_id: u8) {
log::info!("Handling respawn player {} in game {}", player_id, generic.game_guid());
let respawn_time = std::time::Duration::from_secs(self.settings.respawn_time_seconds as u64);
let respawn_time = std::time::Duration::from_secs(self.settings.respawn_time_seconds);
let now = chrono::Utc::now();
let respawn_timestamp = now + respawn_time;
if let Some(player_respawn) = self.player_tracking.respawns.get(&player_id) {