We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00a62f8 commit e71b229Copy full SHA for e71b229
Runtime/Code/Player/Character/MovementSystem/ClientPrediction/AirshipPredictionManager.cs
@@ -75,7 +75,10 @@ public void StartPrediction(){
75
Physics.simulationMode = SimulationMode.Script;
76
debugging = false;
77
this.physicsTimer = 0;
78
- Keyboard.current.onTextInput += OnKeyboardInput;
+
79
+ if(RunCore.IsClient() && Keyboard.current != null){
80
+ Keyboard.current.onTextInput += OnKeyboardInput;
81
+ }
82
}
83
84
private void OnKeyboardInput(Char e){
0 commit comments