mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-01-19 18:14:44 +00:00
no damage if dead
This commit is contained in:
parent
9319f7e7bd
commit
a30f89fc50
|
|
@ -2208,6 +2208,8 @@ class SessionData(
|
|||
// auto kick players damaging spectators
|
||||
if (obj.spectator && obj != player) {
|
||||
administrativeKick(player)
|
||||
} else if (!player.isAlive) {
|
||||
|
||||
} else {
|
||||
obj.Actor ! Vitality.Damage(func)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue