Accept string not object for `LuaLibraryBase.Log`

This commit is contained in:
YoshiRulz 2022-02-04 03:36:17 +10:00
parent 45f64f62de
commit 1dbc40e386
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 2 additions and 4 deletions

View File

@ -62,9 +62,7 @@ namespace BizHawk.Client.Common
return (int)(double)luaArg;
}
protected void Log(object message)
{
LogOutputCallback?.Invoke(message.ToString());
}
protected void Log(string message)
=> LogOutputCallback?.Invoke(message);
}
}