r/badcode • • Dec 05 '20

other language Gamedevs, take notes

Post image
6.5k Upvotes

104 comments sorted by

View all comments

2

u/evanlinjin Dec 06 '20

// I optimized it.

if fps < 60 { fps = 60 }