From 14f20ca1a9cd13b7bbee329edbc139b7ffa9b8cd Mon Sep 17 00:00:00 2001 From: Yogpod Date: Thu, 9 Jul 2020 21:58:14 -0700 Subject: [PATCH] c --- lua/gamemodes/terrortown/gamemode/ent_replace.lua | 2 +- lua/gamemodes/terrortown/gamemode/init.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/gamemodes/terrortown/gamemode/ent_replace.lua b/lua/gamemodes/terrortown/gamemode/ent_replace.lua index d50630d..d152057 100644 --- a/lua/gamemodes/terrortown/gamemode/ent_replace.lua +++ b/lua/gamemodes/terrortown/gamemode/ent_replace.lua @@ -525,7 +525,7 @@ local classremap = { local importcache = {} local function ImportEntities(map) if not ents.TTT.CanImportEntities(map) then return end - print('importing entities functions') + local importfile if importcache[map] then importfile = importcache[map] diff --git a/lua/gamemodes/terrortown/gamemode/init.lua b/lua/gamemodes/terrortown/gamemode/init.lua index f313b6b..12b935a 100644 --- a/lua/gamemodes/terrortown/gamemode/init.lua +++ b/lua/gamemodes/terrortown/gamemode/init.lua @@ -2,6 +2,7 @@ local AddCSLuaFile = AddCSLuaFile local include = include local CreateConVar = CreateConVar +local GetConVar = GetConVar local SetGlobalBool = SetGlobalBool local SetGlobalInt = SetGlobalInt local SetGlobalFloat = SetGlobalFloat