From 1c23246dfc568b8e41e7ea121302f5be4a793755 Mon Sep 17 00:00:00 2001 From: "PrikolMen:-b" <44779902+PrikolMen@users.noreply.github.com> Date: Sun, 21 Jan 2024 17:16:18 +0400 Subject: [PATCH] yeah --- lua/autorun/server/combine-ball-damage.yue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/autorun/server/combine-ball-damage.yue b/lua/autorun/server/combine-ball-damage.yue index 3c1f81f..18e68bf 100644 --- a/lua/autorun/server/combine-ball-damage.yue +++ b/lua/autorun/server/combine-ball-damage.yue @@ -39,7 +39,7 @@ hook.Add "EntityTakeDamage", addonName, ( damageInfo ) => if entity\IsValid! entity\SetOwner! - if band( damageInfo\GetDamageType!, DMG_DISSOLVE ) ~= DMG_DISSOLVE + if band( damageInfo\GetDamageType!, DMG_DISSOLVE ) == 0 damageInfo\SetDamageType( bor( damageInfo\GetDamageType!, DMG_DISSOLVE ) ) damageInfo\SetDamage( Damage\GetInt! )