diff --git a/rust/src/game_manager.rs b/rust/src/game_manager.rs index 7eae5e8..05f21a6 100644 --- a/rust/src/game_manager.rs +++ b/rust/src/game_manager.rs @@ -518,7 +518,6 @@ impl Game { } pub fn handle_goal(&mut self, teams: Vec) { - godot_print!("Goal for {:?}", teams); for team in &teams { self.goals .insert(*team, self.goals.get(&team).copied().unwrap_or(0) + 1); diff --git a/rust/src/goal.rs b/rust/src/goal.rs index e90d889..c50d54f 100644 --- a/rust/src/goal.rs +++ b/rust/src/goal.rs @@ -25,8 +25,6 @@ impl IArea3D for Goal { && let Some(mat) = mesh.get_active_material(0) && let Ok(mut mat) = mat.try_cast::() { - godot_print!("{}", mat); - godot_print!("{}", team.bind().color); mat.set_shader_parameter("goal_color", &team.bind().color.to_variant()); } }