Explorar o código

[fixed] wrong if condition in traits

julzor %!s(int64=4) %!d(string=hai) anos
pai
achega
f45e872bd8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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