This commit is contained in:
Alessandro Proto 2023-01-18 12:23:37 +01:00
parent adb1a6dfcf
commit 8159b38470

View file

@ -286,7 +286,9 @@ internal class Term : IPlugin
private static int L_Write(IntPtr state)
{
var L = Lua.FromIntPtr(state);
var str = L.ToString(1);
string str = "";
if(!L.IsNone(1))
str = L.ToString(1);
Write(str);