mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-13 18:12:24 -06:00
fix: do not use canvas.output_size() for calculations due to browser behavior
This commit is contained in:
@@ -142,8 +142,6 @@ pub fn ghost_collision_system(
|
||||
events.write(AudioEvent::PlayEat);
|
||||
} else {
|
||||
// Pac-Man dies (this would need a death system)
|
||||
// For now, just log it
|
||||
tracing::warn!("Pac-Man collided with ghost while not frightened!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user