Browse Source

fix the name of the "record" function

rachels 3 years ago
parent
commit
f26820f76b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      locations/crossfit_north_box.qsrc

+ 1 - 1
locations/crossfit_north_box.qsrc

@@ -70,7 +70,7 @@ if $ARGS[0] = 'box':
 					$box_wod_record_holder[$todays_crossfit_wod] = $pcs_nickname
 				elseif current_wod_score < box_wod_record[$todays_crossfit_wod]:
 					'Not only that, it''s also a new best record for the whole box!'
-					$prevrecordstring = func('crossfit_north_wod', 'recordstring', $todays_crossfit_wod, box_wod_record[$todays_crossfit_wod])
+					$prevrecordstring = func('crossfit_north_record', 'recordstring', $todays_crossfit_wod, box_wod_record[$todays_crossfit_wod])
 					if $box_wod_record_holder[$todays_crossfit_wod] ! $pcs_nickname:
 						$previous_record_holder = $box_wod_record_holder[$todays_crossfit_wod]
 						'You beat <<$previous_record_holder>>''s record of <<$prevrecordstring>>'