From 9648d9623e082e25b669e1a63a6711e29a9c7572 Mon Sep 17 00:00:00 2001 From: mrcreepysos Date: Wed, 3 Jul 2024 15:16:40 +0000 Subject: [PATCH] Code formatting --- lua/spooclogicattack.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lua/spooclogicattack.lua b/lua/spooclogicattack.lua index 2b53cd7..ee6eff6 100644 --- a/lua/spooclogicattack.lua +++ b/lua/spooclogicattack.lua @@ -18,7 +18,9 @@ function SpoocLogicAttack._upd_spooc_attack(data, my_data) end -- cloakers now can kick you in solo, so buckle up - if SpoocLogicAttack._is_last_standing_AI_criminal() then return end + if SpoocLogicAttack._is_last_standing_AI_criminal() then + return + end if not focus_enemy.unit:movement():is_SPOOC_attack_allowed() or focus_enemy.unit:movement():zipline_unit() then return @@ -71,7 +73,7 @@ function SpoocLogicAttack._is_last_standing_AI_criminal() end end - if (alivePlayers > 0 or aliveBots > 1) then + if alivePlayers > 0 or aliveBots > 1 then return end