summaryrefslogtreecommitdiff
path: root/src/entities/bigdump.js
diff options
context:
space:
mode:
authorniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-12-27 18:49:23 +0100
committerniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-12-27 18:49:23 +0100
commitdd89667fa2e209c8eb0efca61e69359122c33983 (patch)
treeeb90fc5782b51fd02070c6dc0c331383a656e4f4 /src/entities/bigdump.js
parent0696b94962a0571fad54844f137dca025df4563b (diff)
finished
Diffstat (limited to 'src/entities/bigdump.js')
-rw-r--r--src/entities/bigdump.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/entities/bigdump.js b/src/entities/bigdump.js
index d7a20ba..545aab5 100644
--- a/src/entities/bigdump.js
+++ b/src/entities/bigdump.js
@@ -30,8 +30,5 @@ export class BigDump extends Entity {
this.updateAsHazard()
this.checkBounds()
- if (Engine.screen.isOffLimits(this.position, this.size)) {
- this.remove()
- }
}
}