From 66b6b194563f0e4e77b4ea6c608e8a0d039c0815 Mon Sep 17 00:00:00 2001 From: Yogpod Date: Sun, 19 Jul 2020 11:41:27 -0700 Subject: [PATCH] None of these commit messages are gonna be helpful --- lua/autorun/optimize.lua | 8 +++----- .../terrortown/gamemode/ent_replace.lua | 0 lua/{gamemodes => gamemode}/terrortown/gamemode/init.lua | 0 3 files changed, 3 insertions(+), 5 deletions(-) rename lua/{gamemodes => gamemode}/terrortown/gamemode/ent_replace.lua (100%) rename lua/{gamemodes => gamemode}/terrortown/gamemode/init.lua (100%) diff --git a/lua/autorun/optimize.lua b/lua/autorun/optimize.lua index 698ea3f..44dba79 100644 --- a/lua/autorun/optimize.lua +++ b/lua/autorun/optimize.lua @@ -73,11 +73,9 @@ game.GetMap = memoize(game.GetMap) tonumber = memoize(tonumber) tostring = memoize(tostring) -Color = memoize(Color) -Vector = memoize(Vector) -Angle = memoize(Angle) +tobool = memoize(tobool) + if CLIENT then Material = memoize(Material) - surface.CreateFont = memoize(surface.CreateFont) - surface.GetTextureID = memoize(surface.GetTextureID) + ScreenScale = memoize(ScreenScale) end diff --git a/lua/gamemodes/terrortown/gamemode/ent_replace.lua b/lua/gamemode/terrortown/gamemode/ent_replace.lua similarity index 100% rename from lua/gamemodes/terrortown/gamemode/ent_replace.lua rename to lua/gamemode/terrortown/gamemode/ent_replace.lua diff --git a/lua/gamemodes/terrortown/gamemode/init.lua b/lua/gamemode/terrortown/gamemode/init.lua similarity index 100% rename from lua/gamemodes/terrortown/gamemode/init.lua rename to lua/gamemode/terrortown/gamemode/init.lua