From 6b9a38c3c1e471e3d6ede110332d40449ea529da Mon Sep 17 00:00:00 2001 From: cha0s Date: Thu, 2 May 2019 21:09:08 -0500 Subject: [PATCH] perf: no spread --- packages/behavior/item/condition.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/behavior/item/condition.js b/packages/behavior/item/condition.js index 88cb678..2a4ac09 100644 --- a/packages/behavior/item/condition.js +++ b/packages/behavior/item/condition.js @@ -7,8 +7,8 @@ export class Condition { this.operands = []; } - check(...args) { - return this.get(...args); + check(context) { + return this.get(context); } clone(other) {