Commit 4bac7039 authored by nanahira's avatar nanahira

fix

parent 5cb666a6
Pipeline #43290 passed with stages
in 2 minutes and 58 seconds
......@@ -1842,12 +1842,4 @@ export class Room {
// TODO: teammate surrender in tag duel
return this.win({ player: 1 - this.getIngameDuelPos(client), type: 0x0 });
}
async getFieldInfo() {
if (!this.ocgcore) {
return undefined;
}
const info = await this.ocgcore.queryFieldInfo();
return info.field.players[this.getIngameDuelPosByDuelPos(player)].lp;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment