Skip to content

Conversation

@MjnMixael
Copy link
Contributor

Fixes #7178 by making the menu builder for weapons less stringent. None of the options, currently, need the lab to be safe for weapons as they simple toggle lab bools or show class data. Like asteroids below it, if controls are added in the future that need a weapon-safe environment they can add the check specifically before adding those menu items.

What is happening here that's causing the bug is that isSafeForWeapons() checks that the current object is either OBJ_WEAPON or OBJ_BEAM but tech models are OBJ_RAW_POF. IIRC the upcoming Props PR also uses OBJ_RAW_POF for things so adding that object type to isSafeForWeapons() would only be a temporary fix anyway.

@wookieejedi wookieejedi added fix A fix for bugs, not-a-bugs, and/or regressions. Lab A feature or bug related to the F3 lab labels Jan 4, 2026
@wookieejedi
Copy link
Member

wookieejedi commented Jan 4, 2026

Thanks for the fix! Given the elongated RC phase and desire by the community to have 25.0 out the door (including allowing long-standing things like QT-FRED to continue), SCP devs reckon this will be a great PR to include in a point-release for 25.0 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A fix for bugs, not-a-bugs, and/or regressions. Lab A feature or bug related to the F3 lab

Projects

None yet

Development

Successfully merging this pull request may close these issues.

F3 Lab Weapon Object Info Unsets When Rendering Tech Model

2 participants