Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teleport adds Player after Awake, breaking some entities #9

Open
GamationOnGithub opened this issue May 29, 2024 · 0 comments
Open

Comments

@GamationOnGithub
Copy link

GamationOnGithub commented May 29, 2024

InstantTeleport and InstantTeleportTo readd the player to the level after it's reloaded, meaning the player isn't there during Awake, which some entities rely on. Just adding the player before then is sufficient to fix it. Here's a diff.txt of the code that fixes it, as well as a screenshot , and a mod with the fix. (Note this mod also contains code for limiting debris from spinner breakage - this is unrelated.)

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

No branches or pull requests

1 participant