From ac62390992fc03fb38cdf5751ecca3d3f830b288 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Mon, 2 Aug 2021 19:22:05 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"Revert=20"[=E6=88=98=E6=96=97]=3D=3D?= =?UTF-8?q?=3D=3D=3D=3D=3D=3D=E6=9C=8D=E5=8A=A1=E5=99=A8=E5=8F=91=E9=80=81?= =?UTF-8?q?=E9=9A=8F=E6=9C=BA=E7=A7=8D=E5=AD=90=E4=BF=AE=E6=94=B9""?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 0b827be035e9d214e35afd8c3214d57ea0fed2bc. --- .../ManagedResources/~Lua/Modules/Battle/Logic/Base/Random.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Random.lua b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Random.lua index c9d64a3b5f..fe28f2fec4 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Random.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Random.lua @@ -28,7 +28,7 @@ local function random() return r end function Random.SetSeed(sd) - seed = sd + seed = tonumber(tostring(sd):reverse():sub(1, 6)) end function Random.GetSeed()