From 4dcd583c3f8053cbbe46a09190b088666a44ad19 Mon Sep 17 00:00:00 2001 From: Aaron Kimbrell Date: Wed, 11 Nov 2026 06:56:22 -0600 Subject: [PATCH] fix(rocket): cancelling a multi-zone launch takes the rocket off again A multi-zone entrance (the LUP launch pads) equips the player's rocket when used and opens the zone menu. Closing the menu without a launch, or dying with it open, fires the same "CancelLaunch" event at the entrance, locally and to the server (LWOMultiZoneEntranceComponent::MultiZoneEntranceSelected Run). Only the property entrance handled it, so the rocket stayed equipped there. Both now take it off. Co-Authored-By: Claude Opus 5.5 --- dGame/dGameMessages/ObjectMessages.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dGame/dGameMessages/ObjectMessages.cpp b/dGame/dGameMessages/ObjectMessages.cpp index fc6f75a0e..7873c09e7 100644 --- a/dGame/dGameMessages/ObjectMessages.cpp +++ b/dGame/dGameMessages/ObjectMessages.cpp @@ -128,9 +128,10 @@ namespace GameMessages { }); } - // The property browser was closed without a launch, or the player died with it open - // (LWOPropertyEntranceComponent::onPropertyEntranceSelected) - if (args == u"CancelLaunch" && entity.HasComponent(eReplicaComponentType::PROPERTY_ENTRANCE)) { + // The property browser or the multi-zone menu was closed without a launch, or the player died with it open + // (LWOPropertyEntranceComponent::onPropertyEntranceSelected; + // LWOMultiZoneEntranceComponent::MultiZoneEntranceSelected, Run) + if (args == u"CancelLaunch" && (entity.HasComponent(eReplicaComponentType::PROPERTY_ENTRANCE) || entity.HasComponent(eReplicaComponentType::MULTI_ZONE_ENTRANCE))) { PropertyEntranceComponent::CancelLaunch(*player); }