From 2818e157b194cef2864e59640b5e8e879c425e77 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Mon, 13 Feb 2023 01:57:30 +0100 Subject: [PATCH] use `AllStoragesView` instead of `AllStoragesViewMut` --- kubi/src/init.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kubi/src/init.rs b/kubi/src/init.rs index 23500e9..c36a747 100644 --- a/kubi/src/init.rs +++ b/kubi/src/init.rs @@ -1,4 +1,4 @@ -use shipyard::{AllStoragesViewMut, UniqueViewMut}; +use shipyard::{AllStoragesView, UniqueViewMut}; use std::{env, net::SocketAddr}; use crate::{ networking::{GameType, ServerAddress}, @@ -6,7 +6,7 @@ use crate::{ }; pub fn initialize_from_args( - mut all_storages: AllStoragesViewMut, + all_storages: AllStoragesView, ) { let args: Vec = env::args().collect(); if args.len() > 1 {