use AllStoragesView instead of AllStoragesViewMut

This commit is contained in:
griffi-gh 2023-02-13 01:57:30 +01:00
parent b3990e64c9
commit cc2175ec3e

View file

@ -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<String> = env::args().collect();
if args.len() > 1 {