mirror of
https://github.com/AntumMT/mod-wdata.git
synced 2024-10-05 17:23:09 +02:00
Change "error" message to "warning" when file not found for reading
This commit is contained in:
parent
aaa408bcf5
commit
e33937584f
2
api.lua
2
api.lua
@ -38,7 +38,7 @@ function wdata.read(fname)
|
|||||||
-- check if file exists
|
-- check if file exists
|
||||||
local fopen = io.open(fpath, "r")
|
local fopen = io.open(fpath, "r")
|
||||||
if not fopen then
|
if not fopen then
|
||||||
wdata.log("error", "file not found: " .. fpath)
|
wdata.log("warning", "file not found: " .. fpath)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
|
|
||||||
|
v1.1
|
||||||
|
----
|
||||||
|
- changed "error" message to "warning" when file not found for reading
|
||||||
|
|
||||||
v1.0
|
v1.0
|
||||||
----
|
----
|
||||||
- initial release
|
- initial release
|
||||||
|
Loading…
Reference in New Issue
Block a user