actually push cd fix
This commit is contained in:
parent
0d39a84319
commit
865abb2366
@ -469,6 +469,11 @@ impl Game {
|
||||
|
||||
let mut resolutions = resolution_steps(&cast, &mut self);
|
||||
r_animation_ms = resolutions.iter().fold(r_animation_ms, |acc, r| acc + r.clone().get_delay());
|
||||
|
||||
if resolutions.len() > 0 {
|
||||
casts.push(cast);
|
||||
}
|
||||
|
||||
self.resolved.append(&mut resolutions);
|
||||
|
||||
// while let Some(resolution) = resolutions.pop() {
|
||||
@ -479,7 +484,6 @@ impl Game {
|
||||
|
||||
// the cast itself goes into this temp vec
|
||||
// to handle cooldowns
|
||||
casts.push(cast);
|
||||
|
||||
// sort the stack again in case speeds have changed
|
||||
self.stack_sort_speed();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user