Forráskód Böngészése

npc reaction about pregnancy caused blank screen

maankamara 1 éve
szülő
commit
dea52c55cb
1 módosított fájl, 3 hozzáadás és 1 törlés
  1. 3 1
      locations/npc_reactions.qsrc

+ 3 - 1
locations/npc_reactions.qsrc

@@ -61,7 +61,9 @@ if $ARGS[0] = 'general':
 		gt 'npc_reactions', 'cum_on_clothes'
 	else
 		if func('body_din','pregnancyVisibility') = 1 and dyneval( 'RESULT =npc_reaction_pregnant[''<<$ARGS[1]>>'']') = 0:
-			gt 'npc_reactions', 'pregnant'
+			!!gt 'npc_reactions', 'pregnant' This gave me a blank screen. I suspect because the QSP goto doesn't utilize the $result lines at all
+			!! when it's not actually a function calling. So, using the same pattern as reactions below seems to fix the issue.
+			$result = func('npc_reactions', 'pregnant', $ARGS[1], $ARGS[2])
 		else
 			i = 0
 			if bimbo_flag = 1 and dyneval( 'RESULT = npc_reaction_weekly[''<<$ARGS[1]>>_bimbo'']') = 0: