Fixed Cheats and TOC interactability

This commit is contained in:
ZioPao
2024-05-02 12:46:47 +02:00
parent b1adefe8f3
commit 5dc328ebc2
6 changed files with 43 additions and 12 deletions

View File

@@ -63,7 +63,7 @@ function TOC_DEBUG.TestBodyDamage(id)
if bd then
TOC_DEBUG.print("bd for " .. pl:getUsername() .. " exists")
local bptEnum = StaticData.BODYLOCS_IND_BPT["Hand_L"]
local bptEnum = StaticData.LIMBS_TO_BODYLOCS_IND_BPT["Hand_L"]
local bodyPart = bd:getBodyPart(bptEnum)
bodyPart:setBleeding(true)