Skip to content

bugfix: Allow Booby Traps to be placed on a previously booby-trapped object - #3060

Open
Stubbjax wants to merge 2 commits into
TheSuperHackers:mainfrom
Stubbjax:fix-repeated-sticky-bomb-placement
Open

bugfix: Allow Booby Traps to be placed on a previously booby-trapped object#3060
Stubbjax wants to merge 2 commits into
TheSuperHackers:mainfrom
Stubbjax:fix-repeated-sticky-bomb-placement

Conversation

@Stubbjax

@Stubbjax Stubbjax commented Aug 5, 2026

Copy link
Copy Markdown

This change fixes an issue where an object could no longer be booby trapped if it had previously been cleared of booby traps.

Previously, OBJECT_STATUS_BOOBY_TRAPPED was only removed upon detonation, but did not account for deletion via disarming. This meant that disarming the trap did not remove the status, and no more booby traps could be placed as a result. With this change, the status is removed upon deletion, which covers all cases.

Note

Booby Traps do not exist in Generals.

Before

The Barracks cannot be booby trapped after the Worker disarms the first trap

BEFORE.mp4

After

The Barracks can be booby trapped again after the Worker disarms the first trap

AFTER.mp4

@Stubbjax Stubbjax self-assigned this Aug 5, 2026
@Stubbjax Stubbjax added Bug Something is not working right, typically is user facing GLA Affects GLA faction Minor Severity: Minor < Major < Critical < Blocker ZH Relates to Zero Hour NoRetail This fix or change is not applicable with Retail game compatibility labels Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something is not working right, typically is user facing GLA Affects GLA faction Minor Severity: Minor < Major < Critical < Blocker NoRetail This fix or change is not applicable with Retail game compatibility ZH Relates to Zero Hour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant