From ea1473d3af1f50667db590b637b743253e108a08 Mon Sep 17 00:00:00 2001 From: cha0s Date: Thu, 30 May 2019 09:11:29 -0500 Subject: [PATCH] chore: simplify --- server/fixtures/watering-can.entity.js | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/server/fixtures/watering-can.entity.js b/server/fixtures/watering-can.entity.js index 8137161..5d463b7 100644 --- a/server/fixtures/watering-can.entity.js +++ b/server/fixtures/watering-can.entity.js @@ -28,21 +28,16 @@ export function wateringCanJSON() { }, tool: { params: { - condition: buildCondition( - 'or', - [ - // Has to be dirt. - buildCondition('is', [ - 6, - buildInvoke( - ['user', 'layer', 'tileAt'], - [ - buildTraversal(['target']), - ], - ), - ]), - ], - ), + // Has to be dirt. + condition: buildCondition('is', [ + 6, + buildInvoke( + ['user', 'layer', 'tileAt'], + [ + buildTraversal(['target']), + ], + ), + ]), actions: { type: 'actions', traversals: [