mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-26 18:21:04 +00:00
Prefer C++ in case of conflict and pass title rather than internal name
This commit is contained in:
parent
c887425ac4
commit
ea0ae5b62b
8 changed files with 93 additions and 20 deletions
|
@ -88,6 +88,9 @@ bool parseModContents(ModSpec &spec)
|
|||
else
|
||||
spec.deprecation_msgs.push_back("Mods not having a mod.conf file with the name is deprecated.");
|
||||
|
||||
if (info.exists("title"))
|
||||
spec.title = info.get("title");
|
||||
|
||||
if (info.exists("author"))
|
||||
spec.author = info.get("author");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue