BlyZeYT/ConsoleNexusEngine

Engine crashes when TargetFramerate is set to 0

Closed this issue · 0 comments

Error

Engine crashes when TargetFramerate is set to 0.

What happened?

Steps to reproduce:

  1. Settings.TargetFramerate = 0;
  2. Engine crashes with ArgumentOutOfRangeException in Thread.Sleep() in GameLoop

Engine Version

5.1.0

Windows Version

  • Windows 11
  • Windows 10
  • Windows 8
  • Windows 7
  • Older

Additional context

No response