Browse Source

[fixed] you could go beyond end of content which caused an error in the Anna content. Double covered it this time to make completely sure

Kevin_Smarts 2 years ago
parent
commit
c7ec265068
2 changed files with 3 additions and 1 deletions
  1. 1 1
      locations/HotelHole.qsrc
  2. 2 0
      locations/hotel_anna.qsrc

+ 1 - 1
locations/HotelHole.qsrc

@@ -178,7 +178,7 @@ if maidtime > 0: act'Collect your salary': hotelcollect = 1 & gt'hotel_resep'
 
 if hotelcouple = 2 and week=4 and hour >=20 and hour <23 and hcday ! daystart: act 'Go visit the couple in room 207': gt 'HotelWork','hotcouple'
 
-if hour = 20 and IgorevnaBDSM >= 5 and IgorevnaBDSM < 10 and week < 3 and AnnaQW['daystart'] ! daystart:
+if hour = 20 and IgorevnaBDSM >= 5 and IgorevnaBDSM < 9 and week < 3 and AnnaQW['daystart'] ! daystart:
 	act 'Look for Anna':AnnaQW['daystart'] = daystart & gt 'hotel_anna', 'meeting'
 end
 

+ 2 - 0
locations/hotel_anna.qsrc

@@ -9,6 +9,8 @@ gs'stat'
 
 !minut += 10
 
+!!Check to prevent advancing beyond the current end of content
+if IgorevnaBDSM > 8: IgorevnaBDSM = 8
 
 if $ARGS[0] = 'meeting':
 	!gt'hotel_anna','meeting'