From c948956531b8390834096c44820ddf6952d6ed2e Mon Sep 17 00:00:00 2001 From: Kaan Soral Date: Mon, 24 Mar 2025 17:54:42 +0300 Subject: [PATCH] Styling fixes --- node/server_functions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/server_functions.js b/node/server_functions.js index c89b887..85e23d2 100644 --- a/node/server_functions.js +++ b/node/server_functions.js @@ -1807,7 +1807,7 @@ function spawn_special_monster(type) { new_monster(pack.i, pack); // broadcast("game_event",{name:"goldenbat",map:pack.i}); } - if (type == "goldenbot") { + if (type == "goldenbot") { var packs = []; ["uhills"].forEach(function (m) { G.maps[m].monsters.forEach(function (p) { @@ -2088,7 +2088,7 @@ function event_loop() { spawn_special_monster("goldenbat"); } - if (events.goldenbot && (stats.kills.targetron + stats.kills.sparkbot) > edges.next_goldenbot) { + if (events.goldenbot && stats.kills.targetron + stats.kills.sparkbot > edges.next_goldenbot) { edges.next_goldenbot += parseInt(events.goldenbot * Math.random()); spawn_special_monster("goldenbot"); }