1
0
Kaynağa Gözat

Merge branch 'master' of illit/glife into master

[fixed] MyFreeCams money duplication glitch
Kevin_Smarts 2 yıl önce
ebeveyn
işleme
4de6efc6bc
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. 3 0
      locations/Komp.qsrc

+ 3 - 0
locations/Komp.qsrc

@@ -635,6 +635,7 @@ if $ARGS[0] = 'startpagemfc':
 		'While you sit in your chair, you can''t help but wince every time you move. You want to put up a show, but it hurts too much. And besides... you doubt your viewers would want to see you in your current state! You should heal up a bit before trying again.'
 		act 'Collect your earnings and leave':
 			karta += tokens * 2
+			tokens = 0
 			gt 'komp','mfc'
 		end
 	else
@@ -645,6 +646,7 @@ if $ARGS[0] = 'startpagemfc':
 		act 'Turn on your webcam':gt 'komp','waitclients'
 		act 'Collect your earnings and leave':
 			karta += tokens * 2
+			tokens = 0
 			gt 'komp','mfc'
 		end
 	end
@@ -1736,6 +1738,7 @@ if $ARGS[0] = 'waitclients':
 		topmfc = 1
 		backmfc = 1
 		karta += tokens * 2
+		tokens = 0
 		gs 'stat'
 		'<center><img <<$set_imgh>> src="images/pc/items/accessories/computer/camwhore2.jpg"></center>'
 		'Suddenly you hear the handle of your door creak, and an annoyed voice shouting: "<<$pcs_nickname>>, what the hell!? Why is the door locked? Let me in!"'