PC-692
Fixes an issue that allowed staff spectators to damage the King in Castle Siege
This commit is contained in:
parent
7940eeb0ee
commit
c607654c51
@ -444,6 +444,11 @@ public class CastleSiege extends TeamGame
|
||||
{
|
||||
if (!Recharge.Instance.use(damager, "Damage King", 400, false, false))
|
||||
return;
|
||||
|
||||
if (!IsAlive(damager))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
_king.playEffect(EntityEffect.HURT);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user