mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
Preact: Fix tab complete in battles (#2431)
Some checks are pending
Node.js CI / build (22.x) (push) Waiting to run
Some checks are pending
Node.js CI / build (22.x) (push) Waiting to run
--------- Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
This commit is contained in:
parent
fbd905acb9
commit
de13c8c5d4
|
|
@ -110,7 +110,7 @@ export class ChatRoom extends PSRoom {
|
||||||
if (args[0] === 'c:') PS.lastMessageTime = args[1];
|
if (args[0] === 'c:') PS.lastMessageTime = args[1];
|
||||||
this.lastMessage = args;
|
this.lastMessage = args;
|
||||||
this.joinLeave = null;
|
this.joinLeave = null;
|
||||||
this.markUserActive(args[2]);
|
this.markUserActive(args[args[0] === 'c:' ? 2 : 1]);
|
||||||
if (this.tour) this.tour.joinLeave = null;
|
if (this.tour) this.tour.joinLeave = null;
|
||||||
this.subtleNotify();
|
this.subtleNotify();
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user