Bläddra i källkod

[fixed] fame['pav_sex'] and fame['pav_prsotitute'] going up instead of being reduced to zero when below the treshold.

bgkjdgbizgblzdgbr 3 år sedan
förälder
incheckning
6bb8107a5a
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      locations/ParChurch.qsrc

+ 2 - 2
locations/ParChurch.qsrc

@@ -285,12 +285,12 @@ if $ARGS[0] = 'reducepavrep':
 	if fame['pav_sex'] > pavsextreshold:
 		gs 'fame', 'pav', 'sex', pavsexreduction
 	else
-		gs 'fame', 'pav', 'sex', pavsextreshold
+		gs 'fame', 'pav', 'sex', -pavsextreshold
 	end
 	if fame['pav_prostitute'] > pavsextreshold:
 		gs 'fame', 'pav', 'prostitute', pavsexreduction
 	else
-		gs 'fame', 'pav', 'prostitute', pavsextreshold
+		gs 'fame', 'pav', 'prostitute', -pavsextreshold
 	end
 end