From 6c82f1a96f6b7d689b9a85d144ce6e16f94cc2e9 Mon Sep 17 00:00:00 2001 From: ZioPao Date: Sat, 13 Jul 2024 18:57:16 +0200 Subject: [PATCH] Add logs for traits --- media/lua/client/TOC/Controllers/LocalPlayerController.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/media/lua/client/TOC/Controllers/LocalPlayerController.lua b/media/lua/client/TOC/Controllers/LocalPlayerController.lua index 2bed9fa..0b2bbf9 100644 --- a/media/lua/client/TOC/Controllers/LocalPlayerController.lua +++ b/media/lua/client/TOC/Controllers/LocalPlayerController.lua @@ -58,6 +58,7 @@ function LocalPlayerController.ManageTraits() for k, v in pairs(StaticData.TRAITS_BP) do if playerObj:HasTrait(k) then -- Once we find one, we should be done since they're exclusive + TOC_DEBUG.print("Player has amputation trait " .. k .. ", executing it") local tempHandler = AmputationHandler:new(v, playerObj) tempHandler:execute(false) -- No damage tempHandler:close()