Fix debug option.

This commit is contained in:
John Livingston
2023-05-19 15:50:32 +02:00
parent 9a2da60b7d
commit 92f076d425
2 changed files with 6 additions and 5 deletions

View File

@ -13,6 +13,7 @@ if what == 'debug' then
local dir_sep = package.config:sub(1,1);
package.path = package.path..lua_path_sep..mobdebug_path..dir_sep.."?.lua";
require "mobdebug".start(mobdebug_host, mobdebug_port);
require "mobdebug".coro();
what = table.remove(arg, 1);
end