Skip to content

Commit 2d95357

Browse files
authored
Fix CPPI error (again) (#3484)
Fixes a typo from my previous PR that was causing errors
1 parent 808b855 commit 2d95357

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/wire/client/text_editor/wire_expression2_editor.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,10 +1464,10 @@ Text here]# ]]
14641464
local ownerStr
14651465

14661466
if CPPI then
1467-
local owner = self:CPPIGetOwner()
1467+
local owner = v:CPPIGetOwner()
14681468

14691469
if IsValid(owner) and owner:Nick() ~= nick then
1470-
ownerStr = string.format("Owner: %s | Code Author: %s", owner:GetName(), nick)
1470+
ownerStr = string.format("Owner: %s | Code Author: %s", owner:Nick(), nick)
14711471
else
14721472
ownerStr = "Owner: " .. nick
14731473
end

0 commit comments

Comments
 (0)