Browse Source

[fixed] Returning to wrong place when using default sports shortcut and wrong variable in array breaking the Too Risque only button

Kevin_Smarts 1 year ago
parent
commit
7db3dfb747
2 changed files with 3 additions and 2 deletions
  1. 1 1
      locations/clothing_QV.qsrc
  2. 2 1
      locations/wardrobe.qsrc

+ 1 - 1
locations/clothing_QV.qsrc

@@ -1914,7 +1914,7 @@ if $ARGS[0] = 'shop_filter':
 		clothingfilter['only'] += 1
 	end
 	if clothingfilter['too_risque_only'] = 1 and CloInhibit > pcs_inhib:
-		clothingfilter['inc'] += 1
+		clothingfilter['only'] += 1
 	end
 	if clothingfilter['loose_only'] = 1 and CloStyle = 5:
 		clothingfilter['only'] += 1

+ 2 - 1
locations/wardrobe.qsrc

@@ -893,7 +893,7 @@ if $ARGS[0] = 'default_sport_options':
 				lastworndefpursenumber['sport'] = currentpursenumber
 				$lastworncoattype['sport'] = $coatworntype
 				lastworndefcoatnumber['sport'] = coatwornnumber
-				gs 'wardrobe', 'default_entry_wear', default_sport_number
+				gt $loc, $loc_arg
 			end
 		else
 			act'Put your regular clothes back on':
@@ -909,6 +909,7 @@ if $ARGS[0] = 'default_sport_options':
 				gs 'shoes', 'wear', $shoelastworntype['sport'], shoelastwornnumber['sport']
 				gs 'purses', 'wear', $shoelastworntype['sport'], shoelastwornnumber['sport']
 				gs 'coats', 'wear', $lastworncoattype['sport'], lastworndefcoatnumber['sport']
+				gt $loc, $loc_arg
 			end
 		end
 	end