fix: timing
This commit is contained in:
parent
e1df863c44
commit
0c15cd0f94
|
@ -146,12 +146,11 @@ export default (latus) => class Collider extends decorate(Trait) {
|
|||
|
||||
async pushCollisionTickingPromise(codeOrUri, other, incident) {
|
||||
const {Script} = latus.get('%resources');
|
||||
const script = await Script.load(codeOrUri, {
|
||||
entity: this.entity,
|
||||
this.entity.addTickingPromise(Script.loadTickingPromise(codeOrUri, {
|
||||
...this.entity.contextOrDefault,
|
||||
incident,
|
||||
other,
|
||||
});
|
||||
this.entity.addTickingPromise(script.tickingPromise());
|
||||
}));
|
||||
}
|
||||
|
||||
releaseAllCollisions() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user