Skip to content

Commit 63ca769

Browse files
committed
traps show placed team
1 parent 6f964a2 commit 63ca769

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

client/src/playback/Map.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,9 +317,11 @@ export class CurrentMap {
317317
}
318318
if (ratTrap) {
319319
info.push('Rat Trap')
320+
info.push(`Placed by ${TEAM_COLOR_NAMES[ratTrap - 2]}`)
320321
}
321322
if (catTrap) {
322323
info.push('Cat Trap')
324+
info.push(`Placed by ${TEAM_COLOR_NAMES[catTrap - 2]}`)
323325
}
324326
if (cheese) {
325327
info.push(`Cheese: ${cheese}`)

client/src/playback/RoundStat.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export class TeamRoundStat {
1919
ratKingCount: number = 0
2020
ratKingPercent: number = 0
2121
dirtAmount: number = 0
22+
globalCheeseAmount: number = 0
2223
babyRatCount: number = 0
2324
ratTrapAmount: number = 0
2425
catTrapAmount: number = 0

0 commit comments

Comments
 (0)