Move Hit inside the Server check

This commit is contained in:
Sofia 2020-08-08 09:22:28 +03:00
parent 6336635e2e
commit e3dfb3aa61
1 changed files with 1 additions and 1 deletions

View File

@ -180,8 +180,8 @@ namespace NeonTea.Quakeball.Players {
if (Player != null) {
if (Net.Singleton.Instance is Server) {
((Server)Net.Singleton.Instance).SendHit(Player.NetId);
Player.Hit();
}
Player.Hit();
}
break;
}