# HG changeset patch # User Wuzzy # Date 1704550310 0 # Node ID 3befe2d2bf3b7d943e821c5fbe8b61b782ae8366 # Parent bbc87ef05898d7dc4e418e83e17ac6333d525057 LuaRules: Italic diff -r bbc87ef05898 -r 3befe2d2bf3b LuaRules.wiki --- a/LuaRules.wiki Sat Jan 06 14:11:38 2024 +0000 +++ b/LuaRules.wiki Sat Jan 06 14:11:50 2024 +0000 @@ -13,6 +13,6 @@ * Avoid `math.floor` and `math.ceil` * Don’t 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. +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. Failing to follow these rules might lead your script to behave differently on different systems, leading to desynchronization bugs, which means they will not work online.