diff --git a/src/window.cs b/src/window.cs index ec58df8..46648b8 100644 --- a/src/window.cs +++ b/src/window.cs @@ -8,7 +8,7 @@ public partial class window : Node /* VSync should be used because needing to change the PhysicsTicksPerSecond in _Process takes CPU ussage * You could also just set max FPS and delte this fix */ - await ToSignal(GetTree().CreateTimer(2f), "timeout");//waits until the game has loaded some time + await ToSignal(GetTree().CreateTimer(1.5f), "timeout");//waits until the game has loaded some time if (Engine.PhysicsTicksPerSecond != (int)Engine.GetFramesPerSecond()) { Engine.PhysicsTicksPerSecond = (int)Engine.GetFramesPerSecond(); //PhysicsTicksPerSecond have to be the same value like current FPS or the movement will lagg