1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-08 08:11:21 +00:00

reduce framelimit to 10 when outoffocus

This commit is contained in:
Zeno Rogue
2026-04-17 22:35:49 +02:00
parent b2dfe898fd
commit affdfcfbad

View File

@@ -991,6 +991,7 @@ EX void mainloopiter() {
cframelimit = vid.framelimit;
if(stillscreen && cframelimit > 10) cframelimit = 10;
if(outoffocus && cframelimit > 10) cframelimit = 10;
bool normal = cmode & sm::NORMAL;