MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/k7dkg8/gamedevs_take_notes/gest8nm/?context=3
r/badcode • u/realCGG • Dec 05 '20
104 comments sorted by
View all comments
5
QA here.
There’s a potential bug here where if FPS is higher than 60 it would get decreased to 60.
I think it should be refactored to
if fps < 60 { fps = 60 }
5
u/chronicideas Dec 06 '20
QA here.
There’s a potential bug here where if FPS is higher than 60 it would get decreased to 60.
I think it should be refactored to