mirror of
https://github.com/italicsjenga/agb.git
synced 2025-02-23 22:58:18 +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 {
|
if attempts > 100 {
|
||||||
|
attempts = 0;
|
||||||
upgrades.clear();
|
upgrades.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue