Title! Currently, both this and the ManiaExchange menu are a bit odd in their behavior in MP4. Notably, when launching a map, you're immediately faced with MP3's UI, among other oddities. This is because the plugin isn't loading any gamemode at all, instead relying on the engine's fallback gamemode.
So this PR is incredibly straight-forward: it makes the plugin's maploading load the gamemode that Nadeo's maniascript generally tries to enforce as a default, that gamemode being SingleMap. This applies only for MP4, and leaves TM2020 untouched (in theory at least; we can't test that for certain)
This makes loading a map through the plugin behave exactly as a map loaded through the game's menus would behave, as one would naturally expect a plugin like this to achieve.
Title! Currently, both this and the ManiaExchange menu are a bit odd in their behavior in MP4. Notably, when launching a map, you're immediately faced with MP3's UI, among other oddities. This is because the plugin isn't loading any gamemode at all, instead relying on the engine's fallback gamemode.
So this PR is incredibly straight-forward: it makes the plugin's maploading load the gamemode that Nadeo's maniascript generally tries to enforce as a default, that gamemode being
SingleMap
. This applies only for MP4, and leaves TM2020 untouched (in theory at least; we can't test that for certain)This makes loading a map through the plugin behave exactly as a map loaded through the game's menus would behave, as one would naturally expect a plugin like this to achieve.