Fix wrong filename in random.lua
This commit is contained in:
parent
4c52aa8774
commit
1019623aec
|
@ -46,8 +46,8 @@ local function save()
|
|||
end
|
||||
|
||||
-- Load.
|
||||
if fs.exists("./random") then
|
||||
local file = fs.open("./random", "rb")
|
||||
if fs.exists("/.random") then
|
||||
local file = fs.open("/.random", "rb")
|
||||
seed(file.read(32) or "")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue