Log In  

Is there a way to, at runtime, trigger a reload of the game (changed code, possibly with #include s, and all) ?

Reason : I'm coding in an external editor and want to eliminate the edit-save-switch-run-switch loop by periodically, say within _update, trigger said reload+run.

Thanks

P#140982 2024-02-01 13:39 ( Edited 2024-02-02 13:54)

1

I just discovered that #include s are refreshed every time extcmd("reset") is invoked. Most of my code is in .lua files. Problem (mostly) solved.

P#140985 2024-02-01 14:05

[Please log in to post a comment]