refactor: less overhead

This commit is contained in:
cha0s 2024-07-07 17:26:29 -05:00
parent 0372b0ddf4
commit 1ee8f206de

View File

@ -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();
} }