1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 10:14:06 +02:00

formatting

This commit is contained in:
Robin Appelman 2025-07-13 23:40:18 +02:00
commit aa8da5f582
2 changed files with 11 additions and 10 deletions

View file

@ -53,10 +53,7 @@ fn main() -> Result<(), MainError> {
let shooter = state
.players
.iter()
.find(|player| {
player
.weapons.contains(&collision.projectile.launcher)
})
.find(|player| player.weapons.contains(&collision.projectile.launcher))
.and_then(|player| player.info.as_ref());
if let Some(shooter) = shooter {