Explorar o código

Added missing webcamera check for the webcam site.

netuttki hai 1 ano
pai
achega
37e5fe718a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      locations/Komp.qsrc

+ 2 - 2
locations/Komp.qsrc

@@ -75,7 +75,7 @@ if $ARGS[0] = 'browse':
 		'<center><img <<$set_imgh>> src="images/pc/items/accessories/computer/eror.jpg"></center>'
 		'You have no internet access, '+iif(access['metered'], ' you have to buy more minutes.', ' maybe you forgot to pay the internet bill?')
 		
-		if  camwhore = 1 and access['nocamshow'] = 0: 
+		if  camwhore = 1 and access['nocamshow'] = 0 and webcamera = 1: 
 			'Since MyFreeCams will cover the cost, you can still log on to do a cam show.'
 			act 'Go to MyFreeCams.org': gt 'komp', 'mfc'
 		end
@@ -106,7 +106,7 @@ if $ARGS[0] = 'browse':
 		if bankAccount > 0: act 'Visit your bank, maybe to purchase more online time': gt 'komp', 'bank'
 		if shantfoto > 0: act 'Find the girl you took photos of in the park on "Assbook"': gt 'komp', 'foto'
 		if gor_dorm = 7: act 'Read letter from Eugene': gt 'etoexhib', 'pos91'
-		if camwhore = 1 and access['nocamshow'] = 0: act 'Go to MyFreeCams.org': gt 'komp', 'mfc'
+		if camwhore = 1 and access['nocamshow'] = 0 and webcamera = 1: act 'Go to MyFreeCams.org': gt 'komp', 'mfc'
 		if (mid($start_type,1,2) = 'sg' and SchoolAtestat = 0) or func('uniutil', 'student', 'enrolled'): act 'Spend time studying': gt 'komp', 'study'
 		if sucpcinfo = 0 and succubxp > 0: act 'Research the strange feelings you''ve been having': gt 'succubus', 'kompresearch'
 	end