Sfoglia il codice sorgente

Merge remote-tracking branch 'origin/master'

Kevin_Smarts 1 anno fa
parent
commit
7057566280
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      locations/sleep.qsrc

+ 2 - 1
locations/sleep.qsrc

@@ -124,13 +124,14 @@ if $ARGS[0] = 'nap_bed':
 	act 'Take a nap (1:00)':
 		if pcs_sleep >= 10 and pcs_sleep <= 90:
 			cla
+			InSleep = 1
 			pcs_sleep += 10
 			pcs_health += 5
 			minut += 60
 			gs 'stat'
 			*nl
 			'You sleep about an hour.'
-			act 'Get up': gt $loc, $loc_arg
+			act 'Get up': InSleep = 0 & gt $loc, $loc_arg
 		elseif pcs_sleep < 10:
 			gt 'sleep', 'sleep'
 		else