remove leftover comment

This commit is contained in:
Soda Can 2026-03-10 15:14:57 +11:00
parent 8e0b047d33
commit 8c5de84884

View file

@ -124,7 +124,6 @@ float SDK::GetPlayerHealth(int index) {
void SDK::SetPlayerHealth(float health, int index) {
auto* p = GetLocalPlayer(index);
if (!p) return;
// Clamp to valid range so modders can't accidentally set 999 hp
if (health < 0.0f) health = 0.0f;
if (health > p->getMaxHealth()) health = p->getMaxHealth();
p->setHealth(health);