Browse Source

Fixed an issue with the computer used at other locations

If the computer was used at someone else's place - library, Artem's home, Shulga's home, etc. - then the bazillion temporary internet minutes didn't go away after visiting certain sites.

Leaving the site went to `'komp', 'start'` instead of going to `'komp', 'brows'` which overwrote the original `internet_store` value with the insane temporary number.
Netuttki 2 years ago
parent
commit
88066b8fbb
1 changed files with 4 additions and 4 deletions
  1. 4 4
      locations/Komp.qsrc

+ 4 - 4
locations/Komp.qsrc

@@ -398,7 +398,7 @@ if $ARGS[0] = 'rabota':
 		'<center><img <<$set_imgh>> src="images/pc/items/accessories/computer/eror.jpg"></center>'
 		'<center><img <<$set_imgh>> src="images/pc/items/accessories/computer/eror.jpg"></center>'
 		'You have no prepaid internet access remaining. You need to buy more, before you can go online again.'
 		'You have no prepaid internet access remaining. You need to buy more, before you can go online again.'
 
 
-		act 'Close the browser':gt 'komp','start'
+		act 'Close the browser':gt 'komp','brows'
 	else
 	else
 		minut += 60
 		minut += 60
 		internet -= 1
 		internet -= 1
@@ -1784,7 +1784,7 @@ if $ARGS[0] = 'bank':
 			act 'Continue': gt 'komp', 'bank'
 			act 'Continue': gt 'komp', 'bank'
 		end
 		end
 	end
 	end
-	act 'Close your browser':gt 'komp', 'start'
+	act 'Close your browser':gt 'komp', 'brows'
 end
 end
 
 
 if $ARGS[0] = 'fuckornot':
 if $ARGS[0] = 'fuckornot':
@@ -1808,7 +1808,7 @@ if $ARGS[0] = 'fuckornot':
 		if $view_location = 'school':
 		if $view_location = 'school':
 			gt 'gschool_lessons', 'short_break'
 			gt 'gschool_lessons', 'short_break'
 		else
 		else
-			gt 'komp', 'start'
+			gt 'komp', 'brows'
 		end
 		end
 	end
 	end
 end
 end
@@ -1834,7 +1834,7 @@ if $ARGS[0] = 'hotornot':
 		if $view_location = 'school':
 		if $view_location = 'school':
 			gt 'gschool_lessons', 'short_break'
 			gt 'gschool_lessons', 'short_break'
 		else
 		else
-			gt 'komp', 'start'
+			gt 'komp', 'brows'
 		end
 		end
 	end
 	end
 end
 end