mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-21 18:04:27 -05:00
removed debug logs and added some
This commit is contained in:
@@ -48,9 +48,6 @@ public class OffenseKickState : OffenseBaseState
|
||||
else{
|
||||
legRotation = -90;
|
||||
}
|
||||
|
||||
//jitter player upwards because of a weird issue with collider
|
||||
oSM.moveController.Move(new Vector3(0,.002f,0));
|
||||
}
|
||||
|
||||
//kicking timer
|
||||
|
||||
@@ -101,7 +101,7 @@ public class OffenseStateManager : NetworkBehaviour
|
||||
}
|
||||
|
||||
public void SwitchState(OffenseBaseState state){
|
||||
|
||||
if (!IsLocalPlayer) { return; }
|
||||
currentState.ExitState(this, state);
|
||||
|
||||
//Sets the previous State
|
||||
|
||||
Reference in New Issue
Block a user