mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-03 00:01:29 -05:00
Merge pull request #223 from Slayer95/swap-position
Fix swap message not being displayed if middle slot is empty
This commit is contained in:
@@ -2074,7 +2074,7 @@ function Battle(frame, logFrame, noPreload) {
|
||||
if (pokemon.slot === slot) return;
|
||||
var target = selfS.active[slot];
|
||||
|
||||
if (target && !kwargs.silent) {
|
||||
if (!kwargs.silent) {
|
||||
var fromeffect = Tools.getEffect(kwargs.from);
|
||||
switch (fromeffect.id) {
|
||||
case 'allyswitch':
|
||||
|
||||
Reference in New Issue
Block a user