refactor: less overhead
This commit is contained in:
parent
0372b0ddf4
commit
1ee8f206de
|
@ -81,7 +81,6 @@ class ItemProxy {
|
||||||
}
|
}
|
||||||
if (this.scripts.projectionCheckInstance) {
|
if (this.scripts.projectionCheckInstance) {
|
||||||
this.scripts.projectionCheckInstance.context.ecs = this.Component.ecs;
|
this.scripts.projectionCheckInstance.context.ecs = this.Component.ecs;
|
||||||
this.scripts.projectionCheckInstance.context.layer = layer;
|
|
||||||
this.scripts.projectionCheckInstance.context.projected = projected;
|
this.scripts.projectionCheckInstance.context.projected = projected;
|
||||||
return this.scripts.projectionCheckInstance.evaluateSync();
|
return this.scripts.projectionCheckInstance.evaluateSync();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user