From b21cd1e272e60b880241920d26c9f282d25044f0 Mon Sep 17 00:00:00 2001 From: leia uwu Date: Sat, 14 Sep 2024 18:30:31 -0300 Subject: [PATCH] chore: remove useless if in stair code --- server/src/game/objects/gameObject.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/src/game/objects/gameObject.ts b/server/src/game/objects/gameObject.ts index 6c5b9c1a..bc652290 100644 --- a/server/src/game/objects/gameObject.ts +++ b/server/src/game/objects/gameObject.ts @@ -255,8 +255,6 @@ export abstract class BaseGameObject { ) { this.layer = 2; } - } - if (collides) { onStair = true; finalStair = stair; break;