Browse Source

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

Kevin_Smarts 3 weeks ago
parent
commit
d4a77af02e
1 changed files with 1 additions and 1 deletions
  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