Toly65 / UdonCombatSystem

A simple combat system designed for VRchat
MIT License
26 stars 2 forks source link

New players less than full health #17

Closed SolidGlade closed 2 years ago

SolidGlade commented 2 years ago

If someone leaves with low health seems like the next person joining gets the same health. so people aren't starting off with full hp

Toly65 commented 2 years ago

I was about to say that's physically impossible due to health being stored locally but I figured out the issue, the hitbox manager has a variable that stores health and applies damage on deserialisation, so I'm just gonna set it to 0 whenever a player leaves

Toly65 commented 2 years ago

issue should be fixed with 0.6.3, I would also recommend joining the discord

SolidGlade commented 2 years ago

Awesome Thankyou :)