Refactor loading

This commit is contained in:
2026-08-26 19:08:58 +02:00
parent 4ff388f9c0
commit 21a5170dbc
40 changed files with 1034 additions and 426 deletions
+1 -3
View File
@@ -28,9 +28,7 @@ impl From<FighterECB> for FighterPreviousECB {
}
}
pub fn snapshot_fighter_ecb(
fighters: Query<(&FighterECB, &mut FighterPreviousECB)>,
) {
pub fn snapshot_fighter_ecb(fighters: Query<(&FighterECB, &mut FighterPreviousECB)>) {
for (ecb, mut previous_ecb) in fighters {
*previous_ecb = (*ecb).into();
}