Remove unused prints
This commit is contained in:
parent
2dde348aa0
commit
bf486f01d4
@ -518,7 +518,6 @@ impl Game {
|
||||
}
|
||||
|
||||
pub fn handle_goal(&mut self, teams: Vec<u8>) {
|
||||
godot_print!("Goal for {:?}", teams);
|
||||
for team in &teams {
|
||||
self.goals
|
||||
.insert(*team, self.goals.get(&team).copied().unwrap_or(0) + 1);
|
||||
|
||||
@ -25,8 +25,6 @@ impl IArea3D for Goal {
|
||||
&& let Some(mat) = mesh.get_active_material(0)
|
||||
&& let Ok(mut mat) = mat.try_cast::<ShaderMaterial>()
|
||||
{
|
||||
godot_print!("{}", mat);
|
||||
godot_print!("{}", team.bind().color);
|
||||
mat.set_shader_parameter("goal_color", &team.bind().color.to_variant());
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user