If health is dead, then kill the player.

This commit is contained in:
Zack Piispanen 2013-10-05 17:08:31 -04:00
parent 4e6aef1ddc
commit ba23be0236

View file

@ -1333,6 +1333,9 @@ namespace TShockAPI
args.Player.Heal(args.TPlayer.statLifeMax);
}
if (cur <= 0)
TSPlayer.All.SendData(PacketTypes.PlayerKillMe, "attempt at aboose", args.TPlayer.whoAmi);
return false;
}