Bladeren bron

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

KevinSmarts 5 jaren geleden
bovenliggende
commit
c8d105b903
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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