Skip to content

Commit a953b24

Browse files
Remove robot shadow
Too laggy
1 parent e963bdf commit a953b24

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

client/src/playback/Bodies.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -249,12 +249,7 @@ export class Body {
249249
const renderCoords = renderUtils.getRenderCoords(pos.x, pos.y, match.currentRound.map.staticMap.dimension)
250250

251251
if (this.dead) ctx.globalAlpha = 0.5
252-
// Add shadow
253-
ctx.shadowBlur = 5
254-
ctx.shadowColor = 'black'
255252
renderUtils.renderCenteredImageOrLoadingIndicator(ctx, getImageIfLoaded(this.imgPath), renderCoords, this.size)
256-
ctx.shadowBlur = 0
257-
ctx.shadowColor = ''
258253
ctx.globalAlpha = 1
259254

260255
// Draw various statuses

0 commit comments

Comments
 (0)