From dc921e4c0408cc6d521c6e923211e8640066947e Mon Sep 17 00:00:00 2001 From: ZioPao Date: Thu, 9 May 2024 14:50:48 +0200 Subject: [PATCH] disabled useless log --- media/lua/client/TOC/Controllers/LocalPlayerController.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/lua/client/TOC/Controllers/LocalPlayerController.lua b/media/lua/client/TOC/Controllers/LocalPlayerController.lua index 27e0c5c..225651a 100644 --- a/media/lua/client/TOC/Controllers/LocalPlayerController.lua +++ b/media/lua/client/TOC/Controllers/LocalPlayerController.lua @@ -147,6 +147,7 @@ LocalPlayerController.hasBeenDamaged = false ---Check if the player has in infected body part or if they have been hit in a cut area ---@param character IsoPlayer|IsoGameCharacter function LocalPlayerController.HandleDamage(character) + --TOC_DEBUG.print("Player got hit!") -- TOC_DEBUG.print(damageType) if character ~= getPlayer() then return end local bd = character:getBodyDamage() @@ -203,7 +204,6 @@ end ---@param damageAmount number function LocalPlayerController.OnGetDamage(character, damageType, damageAmount) -- TODO Check if other players in the online triggers this - TOC_DEBUG.print("Player got hit!") if LocalPlayerController.hasBeenDamaged == false then -- Start checks