Skip to content

Fix for join_as restoring original body on stage change#25

Merged
niwith merged 1 commit intoniwith:masterfrom
viliger2:join_as_fix
Mar 21, 2026
Merged

Fix for join_as restoring original body on stage change#25
niwith merged 1 commit intoniwith:masterfrom
viliger2:join_as_fix

Conversation

@viliger2
Copy link
Copy Markdown

With AC Gearbox added CharacterMaster.originalBodyPrefab that used to store body that you chose in lobby, specifically so it can be restored on revives and scene changes. DropIn, when using join_as command only replaces CharacterMaster.bodyPrefab, which result in original body being restored on either death or scene change. This is not an issue for someone who just joins, because when body is spawned for the first time originalBodyPrefab is filled with bodyPrefab, however if you want to change body mid-run via the command, then you start encountering issues.

@niwith niwith merged commit bc1217b into niwith:master Mar 21, 2026
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.

2 participants