Seeded smlua's random functions by default
This commit is contained in:
parent
0a41cc70e9
commit
efba660738
|
@ -1,4 +1,5 @@
|
|||
char gSmluaConstants[] = ""
|
||||
"math.randomseed(get_time())"
|
||||
"_CObject = {\n"
|
||||
" __index = function (t,k)\n"
|
||||
" return _get_field(t['_lot'], t['_pointer'], k, t)\n"
|
||||
|
|
Loading…
Reference in New Issue