Skip to content

Commit

Permalink
Fix Quark Drive/Protosynthesis visual bug when losing ability
Browse files Browse the repository at this point in the history
  • Loading branch information
HisuianZoroark committed Jun 22, 2024
1 parent 7779bce commit 19e6b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion play.pokemonshowdown.com/src/battle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2702,7 +2702,7 @@ export class Battle {
let fromeffect = Dex.getEffect(kwArgs.from);
poke.removeVolatile(effect.id);

if (kwArgs.silent) {
if (kwArgs.silent && !(effect.id === 'protosynthesis' || effect.id === 'quarkdrive')) {
// do nothing
} else {
switch (effect.id) {
Expand Down

0 comments on commit 19e6b77

Please sign in to comment.