Added a warning to GetSpeedMod
authorCameron Ball <c.ball1729@gmail.com>
Fri, 13 Dec 2013 07:16:29 +0000 (15:16 +0800)
committerCameron Ball <c.ball1729@gmail.com>
Fri, 13 Dec 2013 07:16:29 +0000 (15:16 +0800)
Themes/GrooveNights/Scripts/SpeedMods.lua

index d7c70d7..c14428c 100644 (file)
@@ -140,6 +140,11 @@ function RateMods()
     return CreateOptionRow( Params, modList, Load, Save )\r
 end\r
 \r
+\r
+--[[\r
+THIS IS AN EXPENSIVE FUNCTION TO CALL. If you need to use it more than once you\r
+should absolutely put it in a variable.\r
+]]--\r
 function GetSpeedMod(pn)\r
        local BaseSpeeds = GetBaseSpeeds()\r
        local ExtraSpeeds = GetExtraSpeeds()\r