mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
fix new world entities id & initial state of lua random
This commit is contained in:
parent
f7d0ec438f
commit
a68be271c6
2 changed files with 9 additions and 5 deletions
|
|
@ -306,6 +306,8 @@ end
|
|||
stdcomp = require "core:internal/stdcomp"
|
||||
entities.get = stdcomp.get_Entity
|
||||
|
||||
math.randomseed(time.uptime()*1536227939)
|
||||
|
||||
-- Deprecated functions
|
||||
block_index = block.index
|
||||
block_name = block.name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue