diff --git a/luprex/core/cpp/world-accessor.cpp b/luprex/core/cpp/world-accessor.cpp index 0e615b40..f1b4682b 100644 --- a/luprex/core/cpp/world-accessor.cpp +++ b/luprex/core/cpp/world-accessor.cpp @@ -426,15 +426,16 @@ LuaDefine(math_random, "(args...)", return 1; } -LuaDefine(math_randomstate, "(seed)", +LuaDefine(math_randomstate, "seed", "|Create and return a randomstate table." "|This is a lua table that stores the state for a random" "|number generator. A randomstate table can be passed" "|to math.random." "|" - "|You can optionally omit the seed, in which case it will" - "|pick a seed randomly. Automatically-generated seeds are" - "|guaranteed never to be the same as user-specified seeds.") { + "|You can optionally omit the seed, in which case a" + "|seed will be chosen randomly. Automatically-generated" + "|seeds are guaranteed never to be the same as" + "|user-specified seeds.") { double seed; if (lua_gettop(L) == 0) { World *w = World::fetch_global_pointer(L);