private void OnPlayerDead(ActorController actor) { if (actor.FactionType == ActorController.EFactionType.ERed) { this.baseScene.OnRemoteActorDead(); return; } if (actor == this.playerCtrler.ActorCtrler) { this.playerCtrler.SetAttackArea(false); } if (this.senceInfo.Type != 7) { this.LockAllActorAI(); } this.ClearAllThreat(); if (this.senceInfo.DayReset) { this.PlayerDead++; } if (!this.win) { this.baseScene.OnPlayerDead(); } else { actor.Resurrect(false); } }