From c0fa609060ace146e20f8c81f0c21dc5382bb309 Mon Sep 17 00:00:00 2001 From: Daniel Yates Date: Mon, 10 May 2021 22:30:55 +0100 Subject: [PATCH] Fix nameplate updates on register changes (#568) --- totalRP3/modules/NamePlates/NamePlates_Core.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/totalRP3/modules/NamePlates/NamePlates_Core.lua b/totalRP3/modules/NamePlates/NamePlates_Core.lua index 2bb4f4fb2..a483cd217 100644 --- a/totalRP3/modules/NamePlates/NamePlates_Core.lua +++ b/totalRP3/modules/NamePlates/NamePlates_Core.lua @@ -419,7 +419,7 @@ function TRP3_NamePlates:OnRegisterDataUpdated(registerID) if unitToken then TRP3_NamePlatesRequestQueue:DequeueUnitQuery(unitToken); - self:UpdateNamePlateForUnit(registerID); + self:UpdateNamePlateForUnit(unitToken); end end end