Browse Source

[fixes] menu in carF

julzor 5 years ago
parent
commit
4e24530994
1 changed files with 5 additions and 2 deletions
  1. 5 2
      locations/carF.qsrc

+ 5 - 2
locations/carF.qsrc

@@ -1,7 +1,5 @@
 # carF
 
-menu_off = 1
-
 $enddrive = {
 	if cardrive = 1:gt 'street'
 	if cardrive = 2:gt 'down'
@@ -29,6 +27,9 @@ $enddrive = {
 }
 
 if $ARGS[0] = 'start':
+	$menu_loc = 'carF'
+	$menu_arg = 'start'
+	menu_off = 0
 	$metka = $ARGS[0]
 	$loc = $CURLOC
 	CLOSE ALL
@@ -47,6 +48,7 @@ if $ARGS[0] = 'start':
 		if benz <= 35:
 			act 'Pour gasoline into the tank':
 				cla
+				menu_off = 1
 				benz += 5
 				kanistra -= 1
 				'You emptied the canister of gasoline in the tank.'
@@ -60,6 +62,7 @@ if $ARGS[0] = 'start':
 end
 
 if $ARGS[0] = 'salon':
+	menu_off = 1
 	$metka = $ARGS[0]
 	$loc = $CURLOC
 	*clr & cla