1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-07-09 23:47:46 +00:00

Address "warning: using clone on type [u32; 10] which implements the Copy trait"

This commit is contained in:
The Dax 2025-06-30 20:19:25 -04:00 committed by Joshua Goins
parent 1f065472d0
commit 1fe3e3e81d

View file

@ -642,7 +642,7 @@ pub async fn server_main_loop(mut recv: Receiver<ToServer>) -> 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