From 282eb802af40c8a4a31f1c07abdf958bc6f4d35a Mon Sep 17 00:00:00 2001 From: daurnimator Date: Mon, 22 May 2017 16:26:50 +1000 Subject: src/lmathlib.js: Return nothing from math_randomseed --- src/lmathlib.js | 1 + 1 file changed, 1 insertion(+) 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) { -- cgit v1.2.3-70-g09d2