--- a/LuaLibraryUtils.wiki Fri Apr 19 16:00:29 2019 +0100
+++ b/LuaLibraryUtils.wiki Fri Apr 19 16:01:36 2019 +0100
@@ -24,12 +24,12 @@
Calling this function means the team has made a record attempt of a given record type (e.g. fastest time or highscore) with a given `value`. If the team's own record has been beaten, or is has set the first record, the team file is being updated.
- * `recordType`: Type of record (see [ConfigurationFiles#[Mission%2520<%5BMISSION_NAME>%5D] for a list)
+ * `recordType`: Type of record (see [ConfigurationFiles#%5BMission%2520%3CMISSION_NAME%3E%5D here] for a list)
* `value`: Value that has been achieved by the team
* `stat`: If `true` (default), will also write a message in the stats screen (whether record has been beaten, or current record if not). Otherwise, this writes nothing.
== `getReadableChallengeRecord(recordType)` (1.0.0) ==
-Returns a human-readable description of a team record of the mission team (see also: `AddMissionTeam`) for the current challenge [Missions mission]. Team records are read from the team file. `recordType` is a record type. Possible record types are listed in [ConfigurationFiles#%5BMission%2520%3CMISSION_NAME%3E%5D]. This can be useful to display something in `ShowMission`.
+Returns a human-readable description of a team record of the mission team (see also: `AddMissionTeam`) for the current challenge [Missions mission]. Team records are read from the team file. `recordType` is a record type. Possible record types are listed [ConfigurationFiles#%5BMission%2520%3CMISSION_NAME%3E%5D here]. This can be useful to display something in `ShowMission`.
If the team does not have a record for the given record type yet, the empty string is returned. If the record type is invalid, `nil` is returned.