Mutably borrows from an owned value. Read more
diff --git a/rustdoc/src/game_logic/rendering/utilities/map_render.rs.html b/rustdoc/src/game_logic/rendering/utilities/map_render.rs.html
index 35ed2436..73941750 100644
--- a/rustdoc/src/game_logic/rendering/utilities/map_render.rs.html
+++ b/rustdoc/src/game_logic/rendering/utilities/map_render.rs.html
@@ -615,6 +615,15 @@
613
614
615
+
616
+
617
+
618
+
619
+
620
+
621
+
622
+
623
+
624
use std::{collections::HashMap, path::PathBuf, sync::Arc};
use crate::{
@@ -1120,6 +1129,15 @@
draw_handle.draw_pixel(x as i32, y as i32, Color::BLUE);
}
}
+
+
+
+
+
+
+
+
+
}
}
}
diff --git a/rustdoc/src/game_logic/scenes/player_interaction.rs.html b/rustdoc/src/game_logic/scenes/player_interaction.rs.html
index 9565d1e2..e965ca30 100644
--- a/rustdoc/src/game_logic/scenes/player_interaction.rs.html
+++ b/rustdoc/src/game_logic/scenes/player_interaction.rs.html
@@ -750,9 +750,9 @@
for i in &self.world_colliders {
if player.position.x - player_size <= i.position.x + i.size.x / 2.0
- && player.position.x + player_size >= i.position.x + i.size.x / 2.0
+ && player.position.x + player_size >= i.position.x - i.size.x / 2.0
&& player.position.y - player_size <= i.position.y + i.size.y / 2.0
- && player.position.y + player_size >= i.position.y + i.size.y / 2.0
+ && player.position.y + player_size >= i.position.y - i.size.y / 2.0
{
@@ -781,9 +781,9 @@
for i in &self.world_colliders {
if player.position.x - player_size <= i.position.x + i.size.x / 2.0
- && player.position.x + player_size >= i.position.x + i.size.x / 2.0
- && player.position.y - player_size <= i.position.y + i.size.y / 2.0
- && player.position.y + player_size >= i.position.y + i.size.y / 2.0
+ && player.position.x + player_size >= i.position.x - i.size.x / 2.0
+ && player.position.y - player_size <= i.position.y + i.size.y / 2.0
+ && player.position.y + player_size >= i.position.y - i.size.y / 2.0
{