Browse Source

[fixed] Incorrect week check in Andrey file caused infinite loop on Friday evenings

KevinSmarts 6 years ago
parent
commit
c8d105b903
1 changed files with 1 additions and 1 deletions
  1. 1 1
      locations/andrey.qsrc

+ 1 - 1
locations/andrey.qsrc

@@ -11,7 +11,7 @@ if $ARGS[0] = '':
 
 	if (young_shop_work = 1 and week = 5 and hour = 20) or (young_shop_work1 = 1 and week = 7 and hour = 15) or (young_shop_work2 = 1 and week = 5 and hour = 15):
 		gs 'andrey', 'regular'
-	elseif hour >= 20 or (week > 4 and hour >= 16):
+	elseif hour >= 20 or (week > 5 and hour >= 16):
 		msg '<center>Andrew M. Sobulyagin says goodbye and leaves. His workday has ended.</center>'
 		gt 'young_shop', 'start'
 	end