LuaAPI: GetVisualGearValues warning
authorWuzzy
Wed, 22 Aug 2018 00:06:58 +0100
changeset 1521 c48e03ba077c
parent 1520 b52c6f8689bc
child 1522 4f9e1a0d56d9
LuaAPI: GetVisualGearValues warning
LuaAPI.wiki
--- a/LuaAPI.wiki	Wed Aug 22 00:03:55 2018 +0100
+++ b/LuaAPI.wiki	Wed Aug 22 00:06:58 2018 +0100
@@ -670,7 +670,7 @@
  * `Timer` is usually the gear lifetime
  * `Tint` is the RGBA color
 
-If the visual gear does not exist, `nil` is returned.
+If the visual gear does not exist, `nil` is returned. Always check the result for `nil` before you plug in the values anywhere.
 
 Most visual gears require little to no modification of parameters.