summaryrefslogtreecommitdiff
path: root/src/engine/systems/Collision.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/systems/Collision.ts')
-rw-r--r--src/engine/systems/Collision.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine/systems/Collision.ts b/src/engine/systems/Collision.ts
index 7d843cc..0bc6f5c 100644
--- a/src/engine/systems/Collision.ts
+++ b/src/engine/systems/Collision.ts
@@ -7,6 +7,7 @@ const collisionMap: Record<string, Set<string>> = {
[EntityNames.Key]: new Set([EntityNames.LockedDoor]),
[EntityNames.Curry]: new Set([EntityNames.Player]),
[EntityNames.FunctionApplication]: new Set([EntityNames.FunctionBox]),
+ [EntityNames.Portal]: new Set([EntityNames.Player]),
};
export class Collision extends System {