1
1
Prechádzať zdrojové kódy

[fixed] More Old variables spotted by Skylah

Awesome 1 rok pred
rodič
commit
73721f9a9f
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      locations/din_van.qsrc

+ 2 - 2
locations/din_van.qsrc

@@ -1498,7 +1498,7 @@ if $ARGS[0] = 'prvt_pee':
 
 	!!If PC is on her period and using tampon, then the following options should appear as well as the standard "Finish and wipe" act:
 	!!This may require an addition check to see if the PC has a purse since I think they need that to carry tampons with them.
-			if isprok = 1 and tampon > 0:
+			if isprok = 1 and mc_inventory['tampons'] > 0:
 				act 'Change tampon (0:02)':
 					*clr & cla
 					minut += 2
@@ -1618,7 +1618,7 @@ if $ARGS[0] = 'pblc_pee':
 				end
 			end
 
-			if mesec > 0 and (isprok = 1 or (isprok = 0 and isprokp = 0)) and tampon > 0 and bag = 1:
+			if mesec > 0 and (isprok = 1 or (isprok = 0 and isprokp = 0)) and mc_inventory['tampons'] > 0 and bag = 1:
 				act 'Change tampon (0:02)':
 					*clr & cla
 					minut += 2