mirror of
https://github.com/Ale32bit/Capy64.git
synced 2025-01-18 10:36:44 +00:00
QoL
This commit is contained in:
parent
adb1a6dfcf
commit
8159b38470
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue