Эх сурвалжийг харах

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

Kevin_Smarts 7 сар өмнө
parent
commit
d4a77af02e

+ 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