1
0
Kaynağa Gözat

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

anjuna krokus 1 ay önce
ebeveyn
işleme
40705672b2
2 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  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