@@ -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]
@@ -1123,6 +1123,7 @@ if week = 1:
!! Reset therapist schedule
killvar 'therapist_weekly_block'
+
elseif week = 7:
gs 'newspaper', 'cikl'
end