reset the number of attempts

This commit is contained in:
Corwin 2023-06-04 00:17:50 +01:00
parent cbb0b7d2a0
commit 95a8804094
No known key found for this signature in database

View file

@ -91,6 +91,7 @@ pub fn generate_upgrades(level: u32, call: &mut dyn FnMut()) -> Vec<Face> {
}
if attempts > 100 {
attempts = 0;
upgrades.clear();
}
}