LuaRules: Shorten random thing
authorWuzzy
Sat, 06 Jan 2024 14:11:10 +0000
changeset 2266 eba9a043a81e
parent 2265 5d951acf9b54
child 2267 bbc87ef05898
LuaRules: Shorten random thing
LuaRules.wiki
--- a/LuaRules.wiki	Sat Jan 06 14:10:36 2024 +0000
+++ b/LuaRules.wiki	Sat Jan 06 14:11:10 2024 +0000
@@ -11,7 +11,7 @@
  * If you want to divide by a different integer value, use the `div` function for integer division
  * Keep your numbers within ±2<sup>53</sup>
  * Avoid `math.floor` and `math.ceil`
- * Never use `math.random` for gameplay-relevant numbers like setting the position, use `GetRandom` instead
+ * Never use `math.random`, use `GetRandom` instead
 
 These restrictions on numbers don’t apply to numbers that you don't use for gameplay but for stuff like harmless eye candy. For example, you can use `math.random` safely as long you don’t use the generated numbers for anything that affects gameplay.