mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
reset the number of attempts
This commit is contained in:
parent
cbb0b7d2a0
commit
95a8804094
|
@ -91,6 +91,7 @@ pub fn generate_upgrades(level: u32, call: &mut dyn FnMut()) -> Vec<Face> {
|
|||
}
|
||||
|
||||
if attempts > 100 {
|
||||
attempts = 0;
|
||||
upgrades.clear();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue