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! )