Destroying the instance will break stuff

This commit is contained in:
ZioPao
2024-05-15 11:38:08 +02:00
parent dc921e4c04
commit a1336c8d2e
2 changed files with 4 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ ItemsController.Player = {}
---@return number
---@private
function ItemsController.Player.GetAmputationTexturesIndex(playerObj, isCicatrized)
-- FIX Broken
local textureString = playerObj:getHumanVisual():getSkinTexture()
local isHairy = textureString:sub(-1) == "a"