Browse Source

[fixed] logic; [added] cleanup

slanon 4 years ago
parent
commit
46219c18f8
1 changed files with 6 additions and 1 deletions
  1. 6 1
      locations/npcgenext.qsrc

+ 6 - 1
locations/npcgenext.qsrc

@@ -48,7 +48,7 @@ if $args[0] = 'dick':
 				tempfindgirth += 1
 			end
 		end
-	elseif tempfinddick < 4:
+	elseif tempfinddick > 4:
 		tempfindgirth += 1
 		if tempfinddick = 6:
 			tempfinddick = rand(1,3)
@@ -75,6 +75,11 @@ if $args[0] = 'dick':
 	else
 		$npctempgn[4] = 'monstrous'
 	end
+
+	! {cleanup}
+	killvar 'tempfindadd'
+	killvar 'tempfinddick'
+	killvar 'tempfindgirth'
 end
 
 ! {Personality Generator. Outputs $npctempgn[6]}