From e2778413cb14d5c46b5068d9a81f29798e6bd0aa Mon Sep 17 00:00:00 2001 From: Valera <76255437+xzxADIxzx@users.noreply.github.com> Date: Wed, 13 Mar 2024 22:28:04 +0300 Subject: [PATCH] fix door at P-2 --- src/Jaket/World/World.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Jaket/World/World.cs b/src/Jaket/World/World.cs index a8185083..5067de03 100644 --- a/src/Jaket/World/World.cs +++ b/src/Jaket/World/World.cs @@ -169,6 +169,14 @@ public static void Load() { obj.GetComponent().events.toActivateObjects[4] = null; }), + StaticAction.Find("Level P-2", "FightActivator", new(-102f, -61.25f, -450f), obj => + { + var act = obj.GetComponent(); + act.events.onActivate = new(); // gothic door + act.events.toActivateObjects[2] = null; // wall collider + act.events.toDisActivateObjects[1] = null; // entry collider + act.events.toDisActivateObjects[2] = null; // elevator + }), // move the death zone, because entities spawn at the origin StaticAction.Find("Endless", "Cube", new(-40f, 0.5f, 102.5f), obj => obj.transform.position = new(-40f, -10f, 102.5f)),