Skip to content

Commit

Permalink
Fixed Bug with CLASS.Logo
Browse files Browse the repository at this point in the history
  • Loading branch information
bleonheart committed Sep 24, 2024
1 parent ff07c7f commit 1588ea3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions lilia/modules/characters/recognition/libraries/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ end

function MODULE:ShouldAllowScoreboardOverride(client, var)
local lp = LocalPlayer()
if client == LocalPlayer() then return false end
if not IsValid(client) or not IsValid(lp) then return false end
local character = client:getChar()
local ourCharacter = lp:getChar()
Expand Down
7 changes: 1 addition & 6 deletions lilia/modules/frameworkui/f1menu/derma/cl_information.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ function PANEL:GenerateSections()
end

function PANEL:CreateTextEntryWithBackgroundAndLabel(name, labelText, dockMarginBot, valueFunc)
local isDesc = name == "desc"
local textFont = "liaSmallFont"
local textFontSize = 20
local textColor = color_white
Expand Down Expand Up @@ -78,11 +77,7 @@ function PANEL:CreateTextEntryWithBackgroundAndLabel(name, labelText, dockMargin
self[name]:SetTall(textFontSize)
self[name]:Dock(FILL)
self[name]:SetTextColor(textColor)
if isDesc then
self[name]:SetEditable(true)
self[name].OnEnter = function(this) lia.command.send("chardesc", this:GetText():gsub("\226\128\139#", "#")) end
end

self[name]:SetEditable(true)
if valueFunc then self[name]:SetText(valueFunc()) end
end

Expand Down

0 comments on commit 1588ea3

Please sign in to comment.