Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marchc1 committed Jan 8, 2025
1 parent b1338f8 commit 391e690
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lua/ponder/classes_cl/environment.lua
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ function Ponder.Environment:Render()
if self.AimedEntity then
mX = mX + 32

local mkup = markup.Parse(self.AimedEntity.IdentifyMarkup and self.AimedEntity.IdentifyMarkup or ("<font=Ponder.Text><colour=25,25,25,255>" .. self.AimedEntity.Name .. "</colour></font>")) -- I don't feel like caching this right now...
local mkup = markup.Parse(self.AimedEntity.IdentifyMarkup and self.AimedEntity.IdentifyMarkup or ("<font=Ponder.Text><colour=25,25,25,255>" .. (self.AimedEntity.IdentifyAs or self.AimedEntity.Name) .. "</colour></font>")) -- I don't feel like caching this right now...
surface.SetFont("Ponder.Text")
local w, h = mkup:Size()
local p = 8
Expand Down
1 change: 1 addition & 0 deletions lua/ponder/instructions_cl/ponder.placemodel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ function PlaceModel:First(playback)
local env = playback.Environment
local mdl = env:NewModel(self.Model, self.Name)
mdl.IdentifyAs = self.IdentifyAs
mdl.IdentifyMarkup = self.IdentifyMarkup

if self.ParentTo then
local parent = env:GetNamedModel(self.ParentTo)
Expand Down

0 comments on commit 391e690

Please sign in to comment.