From 1f5916301028273ab3749594f747e901c10d4895 Mon Sep 17 00:00:00 2001
From: Allanis <allanis@saracraft.net>
Date: Sat, 16 Feb 2013 20:37:44 +0000
Subject: [PATCH] [Fix] Hack fix to Lua's makeseed() API call.   -- Got @KonoM
 working on a better fix.

---
 lib/lua/lstate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/lua/lstate.c b/lib/lua/lstate.c
index 3c00c28..3f79898 100644
--- a/lib/lua/lstate.c
+++ b/lib/lua/lstate.c
@@ -88,7 +88,7 @@ typedef struct LG {
 
 static unsigned int makeseed (lua_State *L) {
   char buff[4 * sizeof(size_t)];
-  unsigned int h = luai_makeseed();
+  unsigned int h = rand();
   int p = 0;
   addbuff(buff, p, L);  /* heap variable */
   addbuff(buff, p, &h);  /* local variable */