Commit 10cc0550 authored by Luke Jones's avatar Luke Jones

physcis: correct timing

parent 685524e9
Pipeline #16446626 passed with stage
in 1 minute and 51 seconds
......@@ -69,7 +69,7 @@ pub fn main() {
last_tick = this_tick;
while lag >= fps {
game.update(fps * 0.008);
game.update(lag * 0.004);
lag -= fps;
}
game.render(lag);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment