Fix various runtime shenanigans
This commit is contained in:
+2
-4
@@ -111,10 +111,8 @@ pub fn update_ecb(
|
||||
0
|
||||
};
|
||||
|
||||
dbg!(ecb_lock_frames_remaining);
|
||||
|
||||
ecb.top = top;
|
||||
|
||||
|
||||
if ecb_lock_frames_remaining == 0 {
|
||||
ecb.bottom = bottom;
|
||||
}
|
||||
@@ -131,7 +129,7 @@ pub fn update_ecb(
|
||||
pub fn decrement_ecb_lockout(surface_states: Query<&mut FighterSurfaceState>) {
|
||||
for mut state in surface_states {
|
||||
state.tick_ecb_lock();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
Reference in New Issue
Block a user