Parcourir la 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 il y a 1 an
Parent
commit
67026b8e76
2 fichiers modifiés avec 4 ajouts et 4 suppressions
  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: