From aa706359193d77170b3b59a8cfb161d047d69432 Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 9 Mar 2024 02:00:40 +0100 Subject: [PATCH] dont think this should write to relplays --- src/lua_baselib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua_baselib.c b/src/lua_baselib.c index bc495f60d..b5a2ea87c 100644 --- a/src/lua_baselib.c +++ b/src/lua_baselib.c @@ -216,7 +216,7 @@ static int lib_mRandomRange(lua_State *L) if ((b-a+1) > 65536) LUA_UsageWarning(L, "M_RandomRange: range > 65536 is undefined behavior"); lua_pushinteger(L, M_RandomRange(a, b)); - demo_writerng = 2; + demo_writerng = 0; return 1; }