Skip to content

Commit e262883

Browse files
committed
update rat chirality in client
1 parent 9d4d659 commit e262883

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

client/src/playback/Bodies.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ export class Body {
656656
`HP: ${this.hp}/${this.maxHp}`,
657657
`Location: (${this.pos.x}, ${this.pos.y})`,
658658
`Direction: ${directionMap[this.direction]}`,
659-
`${this.robotType === schema.RobotType.CAT ? 'Chirality: ' + this.chirality : ''}`,
659+
`${this.robotType === schema.RobotType.CAT || schema.RobotType.RAT_KING ? 'Chirality: ' + this.chirality : ''}`,
660660
`${this.robotType === schema.RobotType.RAT ? 'Cheese: ' + this.cheese : ''}`,
661661
`Move Cooldown: ${this.moveCooldown}`,
662662
`Action Cooldown: ${this.actionCooldown}`,

client/src/playback/Brushes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ export class RatKingBrush extends SymmetricMapEditorBrush<StaticMap> {
629629
}
630630

631631
const id = this.bodies.getNextID()
632-
this.bodies.spawnBodyFromValues(id, schema.RobotType.RAT_KING, team, pos, 0, 0)
632+
this.bodies.spawnBodyFromValues(id, schema.RobotType.RAT_KING, team, pos, 0, robotOne ? 0:1)
633633

634634
return id
635635
}

0 commit comments

Comments
 (0)