소스 검색

Merge remote-tracking branch 'origin/master'

Kevin_Smarts 1 년 전
부모
커밋
7057566280
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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