We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11ef3a1 commit df1ac0dCopy full SHA for df1ac0d
FlashpointSecurePlayer/ProgressManager.cs
@@ -296,13 +296,14 @@ private static void Show() {
296
return;
297
}
298
299
+ int len = goalsArray.Length - 1;
300
int size = 0;
301
double reciprocal = 1;
302
double multiplier = 0;
303
304
// this MUST loop backwards
- for (int i = goalsArray.Length - 1; i >= 0; i--) {
305
- for (int j = goalsArray.Length - 1; j > i; j--) {
+ for (int i = len; i >= 0; i--) {
306
+ for (int j = len; j > i; j--) {
307
size = goalsArray[j].Size;
308
309
if (size == 0) {
0 commit comments