Browse Source

[fixed] Check for not being able to wear set due to clothing that replaces bra or panties was checking last viewed and not current outfit

Kevin_Smarts 1 year ago
parent
commit
67026b8e76
2 changed files with 4 additions and 4 deletions
  1. 2 2
      locations/bras.qsrc
  2. 2 2
      locations/panties.qsrc

+ 2 - 2
locations/bras.qsrc

@@ -310,9 +310,9 @@ if $ARGS[0] = 'view_bra_item':
 						if dyneval('RESULT = <<$ARGS[2]>>_panties[<<underwear[''pair'']>>]') = 1:
 							'You own these panties and can wear this set.'
 							act 'Wear set':
-								if CloBra = 1:
+								if PCloBra = 1:
 									msg'You cannot wear a bra with this top'
-								elseif CloPanties = 1:
+								elseif PCloPanties = 1:
 									msg'You cannot wear a panties with this outfit'
 								else
 									if hypnoBra > 0 and hypnoPanty > 0:

+ 2 - 2
locations/panties.qsrc

@@ -312,9 +312,9 @@ if $ARGS[0] = 'view_panty_item':
 						if dyneval('RESULT = <<$ARGS[2]>>_bras[<<underwear[''pair'']>>]') = 1:
 							'You own this bra and can wear this set.'
 							act 'Wear set':
-								if CloBra = 1:
+								if PCloBra = 1:
 									msg'You cannot wear a bra with this top'
-								elseif CloPanties = 1:
+								elseif PCloPanties = 1:
 									msg'You cannot wear a panties with this outfit'
 								else
 									if hypnoBra > 0 and hypnoPanty > 0: