Skip to content

Fix lua mapload

Ashnal requested to merge bird/Kart-Public:fix-lua-mapload into next

So, most Lua scripters avoid using MapLoad due to the desyncs it can cause. I investigated and found that MapLoad is executed onlyif loadprecip is true. It is false whenever someone is joining a netgame mid race. So I simply moved it out of that condition, and it will execute always on level setup, including joiners. This should allow easier and more consistent usage of the hook for initialization.

Merge request reports

Loading