Compare commits
3 Commits
cb70c60e93
...
03e9d989f8
Author | SHA1 | Date | |
---|---|---|---|
03e9d989f8 | |||
5ddb3dacfd | |||
8950bcbf02 |
@ -110,7 +110,7 @@ impl Runnable<'_>{
|
||||
if let Some(threads)=scheduler_mut(&self.lua,|scheduler|Ok(scheduler.tick_threads()))?{
|
||||
for thread in threads{
|
||||
//TODO: return dt and total run time
|
||||
let result=thread.resume::<mlua::MultiValue>((1.0/20.0,0.0))
|
||||
let result=thread.resume::<mlua::MultiValue>((1.0/30.0,0.0))
|
||||
.map_err(|error|Error::Lua{source:"source unavailable".to_owned(),error});
|
||||
match result{
|
||||
Ok(_)=>(),
|
||||
|
Loading…
Reference in New Issue
Block a user