aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lmathlib.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lmathlib.js b/src/lmathlib.js
index 32893a6..8000b4d 100644
--- a/src/lmathlib.js
+++ b/src/lmathlib.js
@@ -11,6 +11,7 @@ var RNG = seedrandom();
const math_randomseed = function(L) {
RNG = seedrandom(Math.abs(lauxlib.luaL_checknumber(L, 1)));
+ return 0;
};
const math_random = function(L) {