Browse Source

[fixed] gamebreaking bug in atm deposits. Reported by Big Al

anjuna krokus 1 month ago
parent
commit
40705672b2
2 changed files with 2 additions and 1 deletions
  1. 1 1
      locations/bank.qsrc
  2. 1 0
      locations/cikl.qsrc

+ 1 - 1
locations/bank.qsrc

@@ -421,7 +421,7 @@ if $ARGS[0] = 'cikl':
 
 		bank_i = 0
 		:atmdeposit_loop
-		if arrsize('atmDeposit') > 0:
+		if bank_i < arrsize('atmDeposit'):
 			if atmDepositDate[bank_i] <= daystart:
 				if atmDeposit[bank_i] > 0:
 					karta += atmDeposit[bank_i]

+ 1 - 0
locations/cikl.qsrc

@@ -1123,6 +1123,7 @@ if week = 1:
 
 	!! Reset therapist schedule
 	killvar 'therapist_weekly_block'
+
 elseif week = 7:
 	gs 'newspaper', 'cikl'
 end