Make Battle#debug more flexible (#11685)

This commit is contained in:
André Bastos Dias 2026-01-05 17:03:25 +00:00 committed by GitHub
parent f5483a18d0
commit 1a18b3dd55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3144,9 +3144,9 @@ export class Battle {
this.log[this.lastMoveLine] = parts.join('|');
}
debug(activity: string) {
debug(...activity: Part[]) {
if (this.debugMode) {
this.add('debug', activity);
this.add('debug', ...activity);
}
}