Bläddra i källkod

[fixed] wrong if condition in traits

julzor 4 år sedan
förälder
incheckning
f45e872bd8
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      locations/traits.qsrc

+ 1 - 1
locations/traits.qsrc

@@ -82,7 +82,7 @@ if $ARGS[0] = 'menu':
 	elseif traits['nerd_status'] = 2:
 		'<center><b>Loves to learn</b></center>'
 		'You have level 2 of this trait and <<traits[''nerd_points'']>> points. You need to earn <<60 - traits[''nerd_points'']>> more points to get level 2 of this trait. If you fall below 40 points, you''ll fall back to level 1.'		
-	elseif traits['nerd_status'] = 2:
+	elseif traits['nerd_status'] = 3:
 		'<center><b>Teacher''s pet</b></center>'
 		'You have level 3 of this trait and <<traits[''nerd_points'']>> points. If you fall below 60 points, you''ll fall back to level 2.'		
 	end