1
0
Эх сурвалжийг харах

The wear fuction uses 'none' and 0 if lastworn not filled fix

KevinSmarts 6 жил өмнө
parent
commit
6997499121
2 өөрчлөгдсөн 14 нэмэгдсэн , 4 устгасан
  1. 7 2
      locations/bras
  2. 7 2
      locations/panties

+ 7 - 2
locations/bras

@@ -22,8 +22,13 @@ end
 if $ARGS[0] = 'wear':
 	if $ARGS[1] = '':
 		bra_none = 0
-		$braworntype = $lastwornbratype
-		brawornnumber = lastwornbranumber
+		if $lastwornbratype ! '':
+			$braworntype = $lastwornbratype
+			brawornnumber = lastwornbranumber
+		else
+			$braworntype = 'none'
+			brawornnumber = 0
+		end
 	else
 		$braworntype = $ARGS[1]
 		brawornnumber = ARGS[2]

+ 7 - 2
locations/panties

@@ -22,8 +22,13 @@ end
 if $ARGS[0] = 'wear':
 	if $ARGS[1] = '':
 		panty_none = 0
-		$pantyworntype = $lastwornpantytype
-		pantywornnumber = lastwornpantynumber
+		if $lastwornpantytype ! '':
+			$pantyworntype = $lastwornpantytype
+			pantywornnumber = lastwornpantynumber
+		else
+			$pantyworntype = 'none'
+			pantywornnumber = 0
+		end
 	else
 		$pantyworntype = $ARGS[1]
 		pantywornnumber = ARGS[2]