Remove _HOST, superseded by machine.version()

This commit is contained in:
Alessandro Proto 2023-02-17 14:12:41 +01:00
parent 0e5a4895fa
commit b86d330532

View file

@ -19,9 +19,7 @@ using System;
using System.Collections.Concurrent; using System.Collections.Concurrent;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Runtime.CompilerServices;
using System.Text; using System.Text;
using System.Threading.Tasks;
namespace Capy64.Runtime; namespace Capy64.Runtime;
@ -43,9 +41,6 @@ public class LuaState : IDisposable
Encoding = Encoding.UTF8, Encoding = Encoding.UTF8,
}; };
_parent.PushString("Capy64 " + Capy64.Version);
_parent.SetGlobal("_HOST");
Sandbox.OpenLibraries(_parent); Sandbox.OpenLibraries(_parent);
Sandbox.Patch(_parent); Sandbox.Patch(_parent);