On_Schedule: Fixed bug in logging

This commit is contained in:
2020-11-24 23:08:49 +01:00
parent e562540313
commit 01488e29d4

View File

@@ -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;
} }