mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-04 06:01:35 +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 {
|
if attempts > 100 {
|
||||||
|
attempts = 0;
|
||||||
upgrades.clear();
|
upgrades.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue