Centralize random seed generation
This commit is contained in:
parent
60287ea05b
commit
1e759365ca
|
@ -16,6 +16,9 @@ mcl_core.repair = 0.05
|
|||
minetest.nodedef_default.stack_max = 64
|
||||
minetest.craftitemdef_default.stack_max = 64
|
||||
|
||||
-- Set random seed for all other mods (Remember to make sure no other mod calls this function)
|
||||
math.randomseed(os.time())
|
||||
|
||||
-- Load files
|
||||
dofile(minetest.get_modpath("mcl_core").."/functions.lua")
|
||||
dofile(minetest.get_modpath("mcl_core").."/nodes.lua")
|
||||
|
|
|
@ -3,10 +3,6 @@
|
|||
|
||||
-- License of code, textures & sounds: CC0
|
||||
|
||||
--Random
|
||||
math.randomseed(3)
|
||||
|
||||
|
||||
--Drop entities
|
||||
|
||||
--water
|
||||
|
|
Loading…
Reference in New Issue
Block a user