From b86d3305326537a40086470c5eb30f062ff423fb Mon Sep 17 00:00:00 2001 From: Alessandro Proto Date: Fri, 17 Feb 2023 14:12:41 +0100 Subject: [PATCH] Remove _HOST, superseded by machine.version() --- Capy64/Runtime/LuaState.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Capy64/Runtime/LuaState.cs b/Capy64/Runtime/LuaState.cs index fabedae..e2b603d 100644 --- a/Capy64/Runtime/LuaState.cs +++ b/Capy64/Runtime/LuaState.cs @@ -19,9 +19,7 @@ using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; -using System.Runtime.CompilerServices; using System.Text; -using System.Threading.Tasks; namespace Capy64.Runtime; @@ -43,9 +41,6 @@ public class LuaState : IDisposable Encoding = Encoding.UTF8, }; - _parent.PushString("Capy64 " + Capy64.Version); - _parent.SetGlobal("_HOST"); - Sandbox.OpenLibraries(_parent); Sandbox.Patch(_parent);