From f13ae63985763f7a6c6d9f8220ab0955cf598fcc Mon Sep 17 00:00:00 2001 From: Isse Date: Wed, 12 Apr 2023 17:07:49 +0200 Subject: [PATCH] make reposition_on_load join immutable --- server/src/sys/terrain.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/sys/terrain.rs b/server/src/sys/terrain.rs index e26eb9ef21..62355c566b 100644 --- a/server/src/sys/terrain.rs +++ b/server/src/sys/terrain.rs @@ -228,7 +228,7 @@ impl<'a> System<'a> for Sys { // TODO: Consider putting this in another system since this forces us to take // positions by write rather than read access. - let repositioned = (&entities, &mut positions, (&mut force_update).maybe(), &mut reposition_on_load) + let repositioned = (&entities, &mut positions, (&mut force_update).maybe(), &reposition_on_load) // TODO: Consider using par_bridge() because Rayon has very poor work splitting for // sparse joins. .par_join()