diff --git a/src/init/storyInit.tw b/src/init/storyInit.tw
index f19c2abd66ed44a31250b34eac38cd8b498c73ef..80b62393892faabd76dccd3075b95237945102fa 100644
--- a/src/init/storyInit.tw
+++ b/src/init/storyInit.tw
@@ -1301,6 +1301,7 @@ DairyRestraintsSetting($dairyRestraintsSetting)
 
 <<set $cheatMode = 0>>
 <<set $cheatModeM = 1>>
+<<set $NaNArray = []>>
 
 <<set $fcnn = []>>
 <<set $fcnn.push("...coming up at the top of the hour: Catgirl slaves, science fact or science fiction...")>>
diff --git a/src/uncategorized/BackwardsCompatibility.tw b/src/uncategorized/BackwardsCompatibility.tw
index 4ef9d21b69bd494361b51f114aa6fc99def2996e..b4a16271674691d82712fdbb046a700d2954fea3 100644
--- a/src/uncategorized/BackwardsCompatibility.tw
+++ b/src/uncategorized/BackwardsCompatibility.tw
@@ -2581,6 +2581,10 @@ Setting missing global variables:
 	<<set $PCSlutContacts = 1>>
 <</if>>
 
+<<if ndef $NaNArray>>
+	<<set $NaNArray = []>>
+<</if>>
+
 Done!
 
 <br><br>