hecrj / coffee

An opinionated 2D game engine for Rust
https://docs.rs/coffee
MIT License
1.08k stars 55 forks source link

Fix hang when `Game::TICKS_PER_SECOND` is `0` #99

Closed hecrj closed 4 years ago

hecrj commented 4 years ago

Fixes #96.

The game will still tick in this case after approximately 584942417355.072 years in most platforms. I think this is acceptable.