소스 검색

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

KevinSmarts 6 년 전
부모
커밋
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]