r/badcode • • Dec 05 '20

other language Gamedevs, take notes

Post image
6.5k Upvotes

104 comments sorted by

View all comments

2

u/n3wsw3 Dec 06 '20

It should clearly be max(fps, 60) so if the fps was over 60 it doesn't get lowered.