Procházet zdrojové kódy

[fixed] Somebody forgot to closed their parenthesis.

bgkjdgbizgblzdgbr před 2 roky
rodič
revize
f0c8d84d70
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1 1
      locations/city_clinic.qsrc
  2. 1 1
      locations/pav_clinic.qsrc

+ 1 - 1
locations/city_clinic.qsrc

@@ -201,7 +201,7 @@ if $ARGS[0] = 'start':
 
 	if katjob > 0:act 'Visit the chief doctor': gt 'city_clinic', 'glavdoc'
 
-	if (pcs_teeth > -1 and dentistday + 90 < daystart) or (pcs_missing_teeth > 0  and pcs_brace = 0):
+	if (pcs_teeth > -1 and (dentistday + 90 < daystart or dentistday = 0)) or (pcs_missing_teeth > 0  and pcs_brace = 0):
 		act 'Go to the dentist':
 			*clr & cla
 			menu_off = 1

+ 1 - 1
locations/pav_clinic.qsrc

@@ -138,7 +138,7 @@ if $ARGS[0] = '':
 			end
 		end
 
-		if (pcs_teeth > -1 and (dentistday + 90 < daystart or dentistday = 0) or (pcs_missing_teeth > 0  and pcs_brace = 0):
+		if (pcs_teeth > -1 and (dentistday + 90 < daystart or dentistday = 0)) or (pcs_missing_teeth > 0  and pcs_brace = 0):
 			act 'Go to the dentist':
 				*clr & cla
 				menu_off = 1