mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-10-19 14:48:20 -05:00
Flag user bot status in battle logs
Some checks failed
Node.js CI / build (22.x) (push) Has been cancelled
Some checks failed
Node.js CI / build (22.x) (push) Has been cancelled
This commit is contained in:
@@ -913,8 +913,10 @@ export class RoomBattle extends RoomGame<RoomBattlePlayer> {
|
||||
}
|
||||
|
||||
logData.p1rating = p1rating;
|
||||
logData.p1rating.isBot = this.p1.getUser()?.isUserBot;
|
||||
if (this.replaySaved) logData.replaySaved = this.replaySaved;
|
||||
logData.p2rating = p2rating;
|
||||
logData.p2rating.isBot = this.p2.getUser()?.isUserBot;
|
||||
if (this.playerCap > 2) {
|
||||
logData.p3rating = p3rating;
|
||||
logData.p4rating = p4rating;
|
||||
|
||||
Reference in New Issue
Block a user