From 892dd36c8f43065b2e249cd053b77d4965ac925e Mon Sep 17 00:00:00 2001 From: toasterparty Date: Wed, 28 Feb 2024 15:59:20 -0800 Subject: [PATCH] Revert "Improved Gravity Chamber Stalactite grapple point patch (#61)" This reverts commit f99e09a3537eca69192b92a7012e6569d9b78022. --- src/patches.rs | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/patches.rs b/src/patches.rs index b88e445f..9d647c75 100644 --- a/src/patches.rs +++ b/src/patches.rs @@ -8605,17 +8605,8 @@ fn patch_gravity_chamber_stalactite_grapple_point<'r>(_ps: &mut PatcherState, ar let scly = area.mrea().scly_section_mut(); let layer = &mut scly.layers.as_mut_vec()[0]; - // Enable grapple point when detecting grapple beam - layer.objects.as_mut_vec().iter_mut() - .find(|obj| obj.instance_id & 0x00FFFFFF == 0x00350127) - .unwrap().connections.as_mut_vec() - .push( - structs::Connection { - target_object_id: 0x00350123, - state: structs::ConnectionState::ZERO, - message: structs::ConnectionMsg::ACTIVATE, - } - ); + // Remove the object that turns off the stalactites layer + layer.objects.as_mut_vec().retain(|obj| obj.instance_id != 3473722); Ok(()) }