Lua syntax fix.

This commit is contained in:
Sascha L. Teichmann 2015-03-09 12:54:04 +01:00
parent 0ac279d0c7
commit 89413f753c
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ end
function time_interval_func()
local players = players_data()
local fifo = io.open(fifo_path, 'w')
if (fifo != nil) then
if (fifo ~= nil) then
fifo.write(players)
fifo:close()
end