mirror of https://github.com/bjornbytes/lovr.git
Fix World:update;
This commit is contained in:
parent
3fed41db7f
commit
cbfeda1b1c
|
@ -85,6 +85,10 @@ void lovrWorldDestroyData(World* world) {
|
|||
}
|
||||
|
||||
void lovrWorldUpdate(World* world, float dt, CollisionResolver resolver, void* userdata) {
|
||||
if (dt == 0.) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (resolver) {
|
||||
resolver(world, userdata);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue