Move Hit inside the Server check
This commit is contained in:
parent
6336635e2e
commit
e3dfb3aa61
@ -180,9 +180,9 @@ namespace NeonTea.Quakeball.Players {
|
||||
if (Player != null) {
|
||||
if (Net.Singleton.Instance is Server) {
|
||||
((Server)Net.Singleton.Instance).SendHit(Player.NetId);
|
||||
}
|
||||
Player.Hit();
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user