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 (Player != null) {
|
||||||
if (Net.Singleton.Instance is Server) {
|
if (Net.Singleton.Instance is Server) {
|
||||||
((Server)Net.Singleton.Instance).SendHit(Player.NetId);
|
((Server)Net.Singleton.Instance).SendHit(Player.NetId);
|
||||||
}
|
|
||||||
Player.Hit();
|
Player.Hit();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user