mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-02-13 11:43:37 +00:00
no damage if dead
This commit is contained in:
parent
9319f7e7bd
commit
a30f89fc50
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue