fix new world entities id & initial state of lua random

This commit is contained in:
MihailRis
2024-07-09 19:40:00 +03:00
parent f7d0ec438f
commit a68be271c6
2 changed files with 9 additions and 5 deletions
+2
View File
@@ -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