mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-21 18:04:27 -05:00
kick no longer jitters
This commit is contained in:
@@ -168,7 +168,7 @@ public class OffenseStateManager : NetworkBehaviour
|
||||
|
||||
foreach(GameObject character in playableCharacters){
|
||||
if(character.transform.root.GetComponent<NetworkObject>() != null && character.transform.root.GetComponent<NetworkObject>().NetworkObjectId == netObjId){
|
||||
|
||||
//Apply kick to other player
|
||||
Debug.Log("Kicking other user");
|
||||
character.GetComponent<MoveStateManager>().GetHit(direction, 20);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user