Skip to content

Commit cb135cb

Browse files
committed
Little error fixed in lua script
1 parent 91c6009 commit cb135cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ if args[1]=="--file" or args[1]=="-f" then
33
local f=loadfile (args[2])
44
dfhack.pcall(f,table.unpack(args,3))
55
elseif args[1]~=nil then
6-
local f=load(args[1],'=(lua command)', 't',)
6+
local f=load(args[1],'=(lua command)', 't')
77
dfhack.pcall(f,table.unpack(args,2))
88
else
99
dfhack.interpreter("lua","lua.history")

0 commit comments

Comments
 (0)