minor fixes

This commit is contained in:
Alula 2021-03-23 02:49:18 +01:00
parent b49cc83a5b
commit a0c8cfa26d
No known key found for this signature in database
GPG Key ID: 3E00485503A1D8BA
2 changed files with 4 additions and 3 deletions

View File

@ -240,7 +240,7 @@ fn test_builtin_fs() {
FSNode::Directory("memes", vec![
FSNode::File("nothing.txt", &[]),
FSNode::Directory("secret stuff", vec![
FSNode::File("passwords.txt", &b"12345678"),
FSNode::File("passwords.txt", b"12345678"),
]),
]),
FSNode::File("test2.txt", &[]),

View File

@ -44,8 +44,9 @@ impl BackendEventLoop for NullEventLoop {
game.loops = 0;
state_ref.frame_time = 0.0;
}
std::thread::sleep(std::time::Duration::from_millis(10));
game.draw(ctx).unwrap();
std::thread::sleep(std::time::Duration::from_millis(5));
//game.draw(ctx).unwrap();
}
}