Skip to content

Conversation

@misterbubb
Copy link
Contributor

Fixes #2434

@misterbubb misterbubb marked this pull request as ready for review December 20, 2025 18:12
@github-actions
Copy link

github-actions bot commented Dec 20, 2025

Test Results

246 tests  +1   245 ✅ +1   6s ⏱️ ±0s
  1 suites ±0     1 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 2391269. ± Comparison against base commit 177a8cc.

♻️ This comment has been updated with latest results.

Base parentBase = gameObject.GetComponentInParent<Base>();
if (parentBase)
{
foreach (GhostCrafter crafter in parentBase.GetComponentsInChildren<GhostCrafter>(true))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tornac1234 Is there a better way to find the ghostcrafter in a base?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Supposedly there's a list of ghosts linked to a base (Base.ghosts) but I'm not sure if crafters are added to it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Supposedly there's a list of ghosts linked to a base (Base.ghosts) but I'm not sure if crafters are added to it

checked Base.ghosts its a List for construction ghosts, not crafters GhostCrafter extends Crafter not BaseGhost so we need to use GetComponentsInChildren here

Copy link
Member

@Jannify Jannify left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM CW

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fabricator crafting sound doesn't seem to play

3 participants