mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2025-02-16 17:01:48 +00:00
Fixed config files needed to finish with two trailing newlines
This commit is contained in:
parent
70417c1298
commit
e962fde32e
1 changed files with 1 additions and 2 deletions
|
@ -15,7 +15,6 @@
|
||||||
-- You should have received a copy of the GNU General Public License
|
-- You should have received a copy of the GNU General Public License
|
||||||
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
local util = require (wolfa_getLuaPath()..".util.util")
|
|
||||||
local settings = require (wolfa_getLuaPath()..".util.settings")
|
local settings = require (wolfa_getLuaPath()..".util.settings")
|
||||||
|
|
||||||
local files = {}
|
local files = {}
|
||||||
|
@ -68,7 +67,7 @@ function files.open(fileName, fileMode, fileCreate)
|
||||||
end
|
end
|
||||||
|
|
||||||
function files.loadCFG(fileName, idExpr, fileCreate)
|
function files.loadCFG(fileName, idExpr, fileCreate)
|
||||||
local fileString = files.open(fileName, et.FS_READ, fileCreate)
|
local fileString = files.open(fileName, et.FS_READ, fileCreate).."\n\n"
|
||||||
local arrayCount = 0
|
local arrayCount = 0
|
||||||
local array = {}
|
local array = {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue