1
0
Просмотр исходного кода

Fix for purchased food at school

Ekay 7 лет назад
Родитель
Сommit
d4da8a0f40
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      locations/food
  2. 1 1
      locations/gschool_lunch

+ 1 - 1
locations/food

@@ -59,7 +59,7 @@ if $ARGS[0] = 's_meal':
 	'<center><img src="images/shared/food/food.jpg"></center>'
 	'You happily eat your meal. The portions are fairly small and' 
 
-	act 'Finish':gt $locM, $metkaM
+	if $ARGS[1] ! 'school': act 'Finish':gt $locM, $metkaM
 end
 
 if $ARGS[0] = 'm_meal':

+ 1 - 1
locations/gschool_lunch

@@ -37,7 +37,7 @@ if $ARGS[0] = 'lunch':
 				money -= 50
 				gs 'gschool_gossip', 'buying'
 				cla
-				gs 'food', 'm_meal'
+				gs 'food', 'm_meal', 'school'
 				act 'Continue your break': gt 'gschool_lunch', 'break'
 			end
 		end