Fix performance issue in paused state

This commit is contained in:
Elnu 2022-03-14 11:50:09 -07:00
parent eee95af5e3
commit efa898ebaa

View file

@ -264,6 +264,9 @@ int main()
} }
if (paused) { if (paused) {
// window.display() is where SFML implements frame rate limiting
// If we don't run this here, then when paused septadrop will max out the thread
window.display();
continue; continue;
} }