Skip to content

Fix multiplayer neutral chest bug (#22)#96

Merged
djmango merged 1 commit intomasterfrom
claude/issue-22-20250713_201934
Jul 18, 2025
Merged

Fix multiplayer neutral chest bug (#22)#96
djmango merged 1 commit intomasterfrom
claude/issue-22-20250713_201934

Conversation

@djmango
Copy link
Copy Markdown
Owner

@djmango djmango commented Jul 18, 2025

Fixes #22

Ensures trader entities (chests, tanks, accumulators) are assigned to the player's force when built, preventing them from becoming neutral faction entities that cause items to disappear and money to be lost.

This implements the community-suggested fix from moullcz by adding force assignment logic in the on_creation event handler for all trader entity types.

Generated with Claude Code

Ensures trader entities (chests, tanks, accumulators) are assigned to the
player''s force when built, preventing them from becoming neutral faction
entities that cause items to disappear and money to be lost.

This implements the community-suggested fix from moullcz by adding force
assignment logic in the on_creation event handler for all trader entity types.

Co-authored-by: Sulaiman Khan Ghori <djmango@users.noreply.github.com>
@djmango djmango merged commit 8ce4d2c into master Jul 18, 2025
1 check passed
@djmango djmango deleted the claude/issue-22-20250713_201934 branch July 18, 2025 22:48
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.

Multiplayer "Neutral Chest" Bug

1 participant