aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-22 16:26:50 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-22 16:26:50 +1000
commit282eb802af40c8a4a31f1c07abdf958bc6f4d35a (patch)
tree64b91da19931f0d07d1806c70d6ad17b4edbb0a5 /src
parent13ba814ab51f43718c1f07680012e6ee7815b16b (diff)
downloadfengari-282eb802af40c8a4a31f1c07abdf958bc6f4d35a.tar.gz
fengari-282eb802af40c8a4a31f1c07abdf958bc6f4d35a.tar.bz2
fengari-282eb802af40c8a4a31f1c07abdf958bc6f4d35a.zip
src/lmathlib.js: Return nothing from math_randomseed
Diffstat (limited to 'src')
-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) {