Explorar o código

[fixed] food_loc reset

Lusticon hai 9 meses
pai
achega
9c240fc662
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. 1 0
      locations/food_menu.qsrc
  2. 1 0
      locations/stat.qsrc

+ 1 - 0
locations/food_menu.qsrc

@@ -16,6 +16,7 @@ menu_off = 1
 if $ARGS[0] ! 'mod':
 	*clr & cla
 	food_loc = 1
+	$food_loc = $loc
 	killvar '$_drink'
 	killvar '$_eat'
 end

+ 1 - 0
locations/stat.qsrc

@@ -123,6 +123,7 @@ if SNarkTimes >= SNarkvnesh * 25:
 	SNarkvnesh += 1
 	vidage += 1
 end
+if food_loc > 0 and $food_loc <> $loc: killvar 'food_loc'
 
 if gopota >= 20 and gnewQW = 1:gnewQW = 2
 if workDisk = 4 and week > 5:workDisk = 1