[ENHANCEMENT] Force-reload from runtime Polymod errors#7633
Conversation
We only use showPolymodError on runtime exceptions because allowing reloads during script parsing lets you reload during reloads... which breaks the game
|
I just tested it with an actual script, and it crashes the game... |
|
this might be the fastest self-rejected pr in history |
|
It's because selected isnt the right type shit |
For a second I thought you meant
I don't really see this being implemented, especially the way I'm doing it, but I'm putting together a really, really janky solution to getting this working and reopening this PR just in-case someone interested wants to use it for their own personal builds (or, if for some weird reason, it is pulled) |
Linked Issues
#7622
Description
This PR allows modders to reload their game from specific runtime Polymod error messages, allowing you to escape traps such as continuous errors during onUpdate() or simply as a faster way to react to small mistakes.
Screenshots/Videos
TBA