From fc62d0507ec4c9a47f604cc6202bf6fc9e926ab4 Mon Sep 17 00:00:00 2001 From: James Ross Date: Sat, 1 Apr 2023 21:55:05 +0100 Subject: [PATCH] fix: textscreen update typo Closes #88 --- lua/autorun/textscreens_util.lua | 2 +- lua/weapons/gmod_tool/stools/textscreen.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/autorun/textscreens_util.lua b/lua/autorun/textscreens_util.lua index a306cc8..f6ff873 100644 --- a/lua/autorun/textscreens_util.lua +++ b/lua/autorun/textscreens_util.lua @@ -26,7 +26,7 @@ if SERVER then --local rainbow_enabled = cvars.Number('ss_enable_rainbow', 1) - local version = "1.20.0" + local version = "1.20.1" local function GetOS() if system.IsLinux() then return "linux" end diff --git a/lua/weapons/gmod_tool/stools/textscreen.lua b/lua/weapons/gmod_tool/stools/textscreen.lua index 0d27af3..a2a161a 100644 --- a/lua/weapons/gmod_tool/stools/textscreen.lua +++ b/lua/weapons/gmod_tool/stools/textscreen.lua @@ -106,7 +106,7 @@ function TOOL:RightClick(tr) if (CLIENT) then return true end local traceEnt = tr.Entity - if (IsValid(TraceEnt) and traceEnt:GetClass() == "sammyservers_textscreen") then + if (IsValid(traceEnt) and traceEnt:GetClass() == "sammyservers_textscreen") then for i = 1, 5 do local txt = tostring(self:GetClientInfo("text" .. i)) traceEnt:SetLine(