From eb841b9732ce5712d1f53ae62b16efb6434a398b Mon Sep 17 00:00:00 2001
From: kopareigns <kopareigns@gmail.com>
Date: Sun, 7 Oct 2018 22:03:28 -0400
Subject: [PATCH] Fix

---
 src/uncategorized/main.tw | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/uncategorized/main.tw b/src/uncategorized/main.tw
index 1aea1d2123a..52c15ccc284 100644
--- a/src/uncategorized/main.tw
+++ b/src/uncategorized/main.tw
@@ -42,8 +42,10 @@
 <</if>>
 <<if $NaNArray.length > 0>>
 	<br><br>@@.red;ERROR: The following variables are NaN! Please report this.@@<br>
-	<<for _main = 0; _main < $NaNArray.length; _main++>>
+	<<set _main = 0>>
+	<<for _main < $NaNArray.length>> /* Don't change how this loop is setup. It's important for unknown reasons. */
 		$NaNArray[_main] <br>
+		<<set _main++>>
 	<</for>><br>
 <</if>>
 /* end extra sanity checks and repair */
-- 
GitLab