mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-22 07:06:41 +11:00
reset the number of attempts
This commit is contained in:
parent
cbb0b7d2a0
commit
95a8804094
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ pub fn generate_upgrades(level: u32, call: &mut dyn FnMut()) -> Vec<Face> {
|
|||
}
|
||||
|
||||
if attempts > 100 {
|
||||
attempts = 0;
|
||||
upgrades.clear();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue