On_Schedule: Fixed bug in logging
This commit is contained in:
@@ -281,7 +281,7 @@ void call_thrawn_on_schedule(LuaService& service, std::time_t now, const std::st
|
|||||||
lua_pushinteger(service.lua, now);
|
lua_pushinteger(service.lua, now);
|
||||||
|
|
||||||
if (lua_pcall(service.lua, 1, 0, 0) != 0) {
|
if (lua_pcall(service.lua, 1, 0, 0) != 0) {
|
||||||
spdlog::error("[{}] Unable to call 'thrawn_on_schedule'. [Lua: '{}']", service.name);
|
spdlog::error("[{}] Unable to call '{}'. [Lua: '{}']", callback, service.name);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user