1
0
Просмотр исходного кода

[fixed] Dentist didn't include overdraft when checking card balance

Kevin_Smarts 7 месяцев назад
Родитель
Сommit
d4a77af02e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      locations/pav_clinic.qsrc

+ 1 - 1
locations/pav_clinic.qsrc

@@ -167,7 +167,7 @@ if $ARGS[0] = '':
 						'The dentist examinees you and says it will cost you <<zubpay>><b>₽</b> to straighten your teeth and you will have to wear a brace for three months. However, he states that he can''t promise they will be completely straight after one treatment.'
 					end
 
-					if money < zubpay and karta < zubpay:
+					if money < zubpay and karta + bankDebtLimit < zubpay:
 						*nl
 						'You don''t have enough money to fix your teeth.'
 					else