Browse Source

[fixed] Somebody forgot to closed their parenthesis.

bgkjdgbizgblzdgbr 1 year ago
parent
commit
f0c8d84d70
2 changed files with 2 additions and 2 deletions
  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