mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Real control fix (#5787)
* Allow enabling and disabling mods.
* Re-fix 605599b6f1
This breaks some chars like € in chat.
Instead verify is char is a non control char -> iswcntrl
This commit is contained in:
parent
358074b296
commit
90808a4f34
4 changed files with 62 additions and 68 deletions
|
@ -99,6 +99,8 @@ protected:
|
|||
// adds all mods in the set.
|
||||
void addMods(const std::vector<ModSpec> &new_mods);
|
||||
|
||||
void addModsFormConfig(const std::string &settings_path, const std::set<std::string> &mods);
|
||||
|
||||
void checkConflictsAndDeps();
|
||||
private:
|
||||
// move mods from m_unsatisfied_mods to m_sorted_mods
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue