From 7860f28c1be8df43a688733fbe4efddb6732dd0f Mon Sep 17 00:00:00 2001 From: FreezePhoenix <24441367+FreezePhoenix@users.noreply.github.com> Date: Thu, 23 Nov 2023 10:08:43 -0500 Subject: [PATCH] Fix prettier errors --- node/server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/server.js b/node/server.js index 3cd2ef4..3e34c8f 100644 --- a/node/server.js +++ b/node/server.js @@ -4129,7 +4129,7 @@ function init_io() { } if (method == "equip_batch") { var cost = 1; - if(Array.isArray(data)) { + if (Array.isArray(data)) { cost += data.length / 2; } add_call_cost(CC.equip * cost); @@ -6458,7 +6458,7 @@ function init_io() { penalty += 120; resolve.push({ num: equip_def.num, slot }); } - if("penalty_cd" in player.s) { + if ("penalty_cd" in player.s) { player.s.penalty_cd.ms = min(player.s.penalty_cd.ms + penalty, 120000); } else { player.s.penalty_cd = { ms: penalty };