ネイティブ実行でmath.randomseed(frame)を毎フレーム適用し決定論を維持
このコミットが含まれているのは:
1ファイル変更
+1
@@ -214,6 +214,7 @@ while true do
|
|||||||
|
|
||||||
if compiledChunk and code == compiledCode then
|
if compiledChunk and code == compiledCode then
|
||||||
loadFields()
|
loadFields()
|
||||||
|
math.randomseed(f64[31])
|
||||||
setfenv(compiledChunk, sandbox)
|
setfenv(compiledChunk, sandbox)
|
||||||
local ok, err = pcall(compiledChunk)
|
local ok, err = pcall(compiledChunk)
|
||||||
if ok then
|
if ok then
|
||||||
|
|||||||
新しいイシューから参照
ユーザーをブロックする