mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-05-22 01:04:11 +00:00
parent
b09200a270
commit
590ef86c93
@ -111,7 +111,9 @@ local function set_status(text, ok)
|
|||||||
status_text = text
|
status_text = text
|
||||||
end
|
end
|
||||||
|
|
||||||
if not bReadOnly and fs.getFreeSpace(sPath) < 1024 then
|
if bReadOnly then
|
||||||
|
set_status("File is read only", false)
|
||||||
|
elseif fs.getFreeSpace(sPath) < 1024 then
|
||||||
set_status("Disk is low on space", false)
|
set_status("Disk is low on space", false)
|
||||||
else
|
else
|
||||||
local message
|
local message
|
||||||
|
Loading…
x
Reference in New Issue
Block a user