diff --git a/source/core/src/main/com/csse3200/game/components/tasks/WanderTask.java b/source/core/src/main/com/csse3200/game/components/tasks/WanderTask.java index 088d32775..f02852bdb 100644 --- a/source/core/src/main/com/csse3200/game/components/tasks/WanderTask.java +++ b/source/core/src/main/com/csse3200/game/components/tasks/WanderTask.java @@ -82,8 +82,6 @@ public void update() { // with section, massive props to him for his help! if (!isDead && owner.getEntity().getComponent(CombatStatsComponent.class).isDead()) { owner.getEntity().getEvents().trigger("dieStart"); - //owner.getEntity().getComponent(ColliderComponent.class).setLayer(PhysicsLayer.NONE); - //owner.getEntity().getComponent(HitboxComponent.class).setLayer(PhysicsLayer.NONE); currentTask.stop(); isDead = true; }