From 9b7e3d14b3f35163199ed704ae35544fa658931e Mon Sep 17 00:00:00 2001 From: troido Date: Sat, 26 Sep 2020 14:05:14 +0200 Subject: spawned entities are now saved but not spawned again until removed --- src/world.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/world.rs') diff --git a/src/world.rs b/src/world.rs index b9af6df..24fe392 100644 --- a/src/world.rs +++ b/src/world.rs @@ -111,7 +111,7 @@ impl <'a, 'b>World<'a, 'b> { fn try_add_loaded_player(&mut self, mut state: PlayerState, backups: &[Option]) -> Result<()> { match self.add_loaded_player(state.clone()){ Err(MigrationError::RoomError(e)) => { - println!("could not add player {:?} to room {:?}: {:?}", state.id, state.room, e); + println!("could not add player {:?} to room {:?}: {}", state.id, state.room, e); if let Some((first, rest)) = backups.split_first(){ state.room = first.clone(); state.pos = RoomPos::Unknown; -- cgit