Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix world config menu ignoring `name` in `mod.conf`. #3433
I pulled this branch and performed a rename test:
restarted minetest with this patch applied, and confirmed that the UI displayed the "inspector" mod. Enabled it, started a subgame, and typed
@Dragonop In case it's not clear from the title, the issue this fixes is the world configuration dialog (Client Tab > Configure) does not respect the mod name.
A while ago, I coded a feature (#1062, of which only the one commit got in) which allows mods to specify the name of the mod in a
Now, the engine (the server part, specifically) honors that configuration e.g. when the mod is put in a game's
This patch fixes that.
If you can, try using a non-patched client, and you will see sofar's example fail because it contains invalid characters. Now try a patched client, and you will see that you can now name the directory whatever you want and you can enable the mod correctly.