Pārlūkot izejas kodu

[Fixed] '' instead of '

Awesome 2 nedēļas atpakaļ
vecāks
revīzija
4453033615
1 mainītis faili ar 7 papildinājumiem un 7 dzēšanām
  1. 7 7
      locations/obj_din.qsrc

+ 7 - 7
locations/obj_din.qsrc

@@ -715,18 +715,18 @@ if $ARGS[0] = 'stats':
 		*nl
 	end
 
-	if runnerQW['races_ran'] > 0: 'You ran in <<runnerQW[''races_ran'']>> competitive race' + iif(runnerQW[''races_ran''] = 1, '','s')
+	if runnerQW['races_ran'] > 0: 'You ran in <<runnerQW[''races_ran'']>> competitive race' + iif(runnerQW['races_ran'] = 1, '','s')
 	if runnerQW['pav_wins2'] >= 3:
 		'You have won the school race trophy twice'
 	elseif runnerQW['pav_wins1'] >= 3:
 		'You have won a school race trophy'
 	end
-	if runnerQW['bronze_medals'] > 0: 'As a runner you have won <<runnerQW[''bronze_medals'']>> bronze medal' + iif(runnerQW[''bronze_medals''] = 1, '','s')
-	if runnerQW['silver_medals'] > 0: 'As a runner you have won <<runnerQW[''silver_medals'']>> silver medal' + iif(runnerQW[''silver_medals''] = 1, '','s')
-	if runnerQW['gold_medals'] > 0: 'As a runner you have won <<runnerQW[''gold_medals'']>> gold medal' + iif(runnerQW[''gold_medals''] = 1, '','s')
-	if runnerQW['bronze_medals'] > 0: 'In the St. Petersburg Track Championship race you have won <<runnerQW[''champ_bronze'']>> bronze medal' + iif(runnerQW[''champ_bronze''] = 1, '','s')
-	if runnerQW['champ_silver'] > 0: 'In the St. Petersburg Track Championship race you have won <<runnerQW[''champ_silver'']>> silver medal' + iif(runnerQW[''champ_silver''] = 1, '','s')
-	if runnerQW['champ_gold'] > 0: 'In the St. Petersburg Track Championship race you have won <<runnerQW[''champ_gold'']>> gold medal' + iif(runnerQW[''champ_gold''] = 1, '','s')
+	if runnerQW['bronze_medals'] > 0: 'As a runner you have won <<runnerQW[''bronze_medals'']>> bronze medal' + iif(runnerQW['bronze_medals'] = 1, '','s')
+	if runnerQW['silver_medals'] > 0: 'As a runner you have won <<runnerQW[''silver_medals'']>> silver medal' + iif(runnerQW['silver_medals'] = 1, '','s')
+	if runnerQW['gold_medals'] > 0: 'As a runner you have won <<runnerQW[''gold_medals'']>> gold medal' + iif(runnerQW['gold_medals'] = 1, '','s')
+	if runnerQW['bronze_medals'] > 0: 'In the St. Petersburg Track Championship race you have won <<runnerQW[''champ_bronze'']>> bronze medal' + iif(runnerQW['champ_bronze'] = 1, '','s')
+	if runnerQW['champ_silver'] > 0: 'In the St. Petersburg Track Championship race you have won <<runnerQW[''champ_silver'']>> silver medal' + iif(runnerQW['champ_silver'] = 1, '','s')
+	if runnerQW['champ_gold'] > 0: 'In the St. Petersburg Track Championship race you have won <<runnerQW[''champ_gold'']>> gold medal' + iif(runnerQW['champ_gold'] = 1, '','s')
 	if runnerQW['prof_stage'] > 0:
 		if runnerQW['prof_stage'] = 1: 'You''re registered for a semi-professional''s race, in the junior squad'
 		if runnerQW['prof_stage'] = 2: 'You''re registered for a semi-professional''s race, in the veteran squad'