From 1fe3e3e81d3c1793e9f1a4209127672b10273798 Mon Sep 17 00:00:00 2001 From: The Dax Date: Mon, 30 Jun 2025 20:19:25 -0400 Subject: [PATCH] Address "warning: using `clone` on type `[u32; 10]` which implements the `Copy` trait" --- src/world/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/server.rs b/src/world/server.rs index 8448a27..8bb49e5 100644 --- a/src/world/server.rs +++ b/src/world/server.rs @@ -642,7 +642,7 @@ pub async fn server_main_loop(mut recv: Receiver) -> Result<(), std::i }; player.common.main_weapon_model = main_weapon_id; - player.common.models = model_ids.clone(); + player.common.models = model_ids; } // Inform all clients about their new equipped model ids