Skip to content

Commit

Permalink
fix: textscreen update typo
Browse files Browse the repository at this point in the history
Closes #88
  • Loading branch information
Cherry committed Apr 1, 2023
1 parent 466de3f commit fc62d05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/autorun/textscreens_util.lua
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lua/weapons/gmod_tool/stools/textscreen.lua
Expand Up @@ -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(
Expand Down

0 comments on commit fc62d05

Please sign in to comment.