2021.04.22-03.21
This commit is contained in:
14
lua_scripts/extensions/_Misc.ext
Normal file
14
lua_scripts/extensions/_Misc.ext
Normal file
@@ -0,0 +1,14 @@
|
||||
--
|
||||
-- Copyright (C) 2010 - 2016 Eluna Lua Engine <http://emudevs.com/>
|
||||
-- This program is free software licensed under GPL version 3
|
||||
-- Please see the included DOCS/LICENSE.md for more information
|
||||
--
|
||||
|
||||
-- filename.ext files are loaded before normal .lua files
|
||||
|
||||
-- Randomize random
|
||||
math.randomseed(tonumber(tostring(os.time()):reverse():sub(1,6)))
|
||||
|
||||
-- Set debug.traceback to use StackTracePlus to print full stack trace
|
||||
local trace = require("StackTracePlus")
|
||||
debug.traceback = trace.stacktrace
|
||||
Reference in New Issue
Block a user