1
0
Преглед на файлове

[fixes] Bug fix for father tracking from Drugas

KevinSmarts преди 4 години
родител
ревизия
72bb8fa26f
променени са 1 файла, в които са добавени 2 реда и са изтрити 5 реда
  1. 2 5
      locations/cikl.qsrc

+ 2 - 5
locations/cikl.qsrc

@@ -1566,7 +1566,7 @@ if arrsize('$cumarrnam') > 0:
 			!'no cum in woomb from <<$tmp>>'
 			if norandomdads = 1:
 				!no random dads
-				gs 'npccleanc',$tmp
+				If npc_pers[$tmp] ! '': gs 'npccleanc',$tmp 
 			else
 				!some children are from random genereted npc
 				!checking if selected npc is a dady
@@ -1577,10 +1577,6 @@ if arrsize('$cumarrnam') > 0:
 					!selected npc is father of the child, he will stay in record or now
 					!moving npc from C array to B array,
 					gs 'npcpreservec',$tmp
-					!updating the childs data about the father
-					$ChildFath[childtmp] = $npclastsaved
-					!cleaining unnecessary data
-					gs 'npccleanc',$tmp
 					number += 1
 					if number < mid($npclastgenerated[0],2,9): jump 'cleaning_records_cum'
 				else
@@ -1617,6 +1613,7 @@ else
 
 		if $ChildFath[childtmp2] = $tmp:
 			!selected random NPC is dady selected child
+			gs 'npcpreservec', $tmp
 			number +=1
 			if number < mid($npclastgenerated[0],2,9): jump 'cleaning_with_babies'