Quellcode durchsuchen

Working fix for the cum still being seen after clean up error.

KevinSmarts vor 6 Jahren
Ursprung
Commit
fb1f324b7e
2 geänderte Dateien mit 5 neuen und 2 gelöschten Zeilen
  1. 0 1
      locations/cum_cleanup
  2. 5 1
      locations/stat_display

+ 0 - 1
locations/cum_cleanup

@@ -45,7 +45,6 @@ elseif $ARGS[0] = 'cleandeposit' and arrsize('ARGS') > 1:
 	KILLVAR 'sparrvol',ARGS[1]
 	KILLVAR 'sparrslc',ARGS[1]
 	KILLVAR 'sparrcnt',ARGS[1]
-	KILLVAR 'cumloc',ARGS[1]
 elseif $ARGS[0] = 'cleanwomb' and arrsize('ARGS') > 1:
 	KILLVAR 'cumarrcpt',ARGS[1]
 	KILLVAR 'cumarrppt',ARGS[1]

+ 5 - 1
locations/stat_display

@@ -770,6 +770,9 @@ if arrsize('sparrvol') > 0:
 	killvar 'j'
 end
 
+!!Clearing cum location array before positive entries are applied below
+killvar 'cumloc'
+
 i = 0
 :cumlocloop
 	if i = 0: 
@@ -827,9 +830,10 @@ i = 0
 		$txtloc = 'the gusset of your panties</a>'
 	end
 	
-	j = 0		
+	j = 0
 	:ageloop
 		if cumvolume['<<i>>:<<j>>'] > 0:
+			!!Cum locations set for checking npc reactions
 			cumloc[i] = 1
 			!!amount setting
 			if cumvolume['<<i>>:<<j>>'] > 250: