Cruor / LuaCutscenes

Celeste mod that adds cutscenes written in Lua.
MIT License
4 stars 6 forks source link

Teleport adds Player after Awake, breaking some entities #9

Open GamationOnGithub opened 5 months ago

GamationOnGithub commented 5 months ago

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.)