# HG changeset patch # User Wuzzy # Date 1519138044 0 # Node ID ff97ab480e0d15ec08d7776e556ca49b93c1c8af # Parent 460d8f3aaf3216d14769708ee06aa04588e9c76c LuaAPI: rewrite onAchievementsDeclaration diff -r 460d8f3aaf32 -r ff97ab480e0d LuaAPI.wiki --- a/LuaAPI.wiki Tue Feb 20 14:29:44 2018 +0000 +++ b/LuaAPI.wiki Tue Feb 20 14:47:24 2018 +0000 @@ -385,7 +385,7 @@ This function is used in Racer and !TechRacer to define waypoints. === `onAchievementsDeclaration()` === -This function is called after the stats have been built. You are supposed to call `DeclareAchievement` here. +This function is called after the stats for the stats screen (after the game) have been generated. You are supposed to call `DeclareAchievement` here. == Functions for creating gears ==