1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-10 09:20:28 +00:00

Use shell.resolve in speaker.lua

Fixes #1753
This commit is contained in:
Jonathan Coates 2024-03-20 10:44:48 +00:00
parent ad97b2922b
commit 9eead7a0ec
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06

View File

@ -50,7 +50,7 @@ elseif cmd == "play" then
print("Downloading...") print("Downloading...")
handle, err = http.get(file) handle, err = http.get(file)
else else
handle, err = fs.open(file, "r") handle, err = fs.open(shell.resolve(file), "r")
end end
if not handle then if not handle then