Tweaks to for loops

This commit is contained in:
EliteMasterEric
2026-04-06 04:18:10 -06:00
committed by Hundrec
parent 9f695a28f5
commit d344741f85
40 changed files with 108 additions and 155 deletions
@@ -156,8 +156,7 @@ class CoolStatsGraph extends Sprite
public function average():Float
{
var sum:Float = 0;
for (value in history)
sum += value;
for (value in history) sum += value;
return sum / history.length;
}