Wrapped Lua MapLoad hook in P_MapStart / P_MapEnd.
This fixes a crash if a script tries to use a MapLoad hook to immediately edit the map in some way the moment it finishes loading.
Loading
This fixes a crash if a script tries to use a MapLoad hook to immediately edit the map in some way the moment it finishes loading.
This commit is WRONG, I need to find where tmthing is set and wrap THAT instead. Argh!
mentioned in commit c91cd386