diff --git a/Capy64/Runtime/Objects/FileHandle.cs b/Capy64/Runtime/Objects/FileHandle.cs index 870cccd..a933ab0 100644 --- a/Capy64/Runtime/Objects/FileHandle.cs +++ b/Capy64/Runtime/Objects/FileHandle.cs @@ -191,6 +191,7 @@ public class FileHandle : IComponent if (nargs == 0) { L.PushString("l"); + nargs = 1; } for (int i = 2; i <= nargs + 1; i++)