Mostly working base

This commit is contained in:
ZioPao
2023-11-07 19:01:31 +01:00
parent 74b625b287
commit 066f4f8049
2 changed files with 18 additions and 8 deletions

View File

@@ -25,6 +25,10 @@ function PlayerHandler.InitializePlayer(_, playerObj, isForced)
-- Since isForced is used to reset an existing player data, we're gonna clean their ISHealthPanel table too
if isForced then
ISHealthPanel.highestAmputations = {}
-- TODO Hacky way to check both limbs
AmputationHandler.DeleteOldAmputationItem(playerObj, "Hand_L")
AmputationHandler.DeleteOldAmputationItem(playerObj, "Hand_R")
end
end