fix_possess_crash

This commit is contained in:
flo 2023-01-31 17:18:52 +00:00 committed by Isse
parent ba2f51e5e0
commit 4de4de758b

View File

@ -448,6 +448,7 @@ pub fn handle_possess(server: &mut Server, possessor_uid: Uid, possessee_uid: Ui
state.notify_players(remove_player_msg);
state.notify_players(add_player_msg);
}
drop(admins);
// Put possess item into loadout
let mut inventories = ecs.write_storage::<Inventory>();