mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Add minetest.get_worldpath() for getting location for custom data
This commit is contained in:
parent
b3f4cbe157
commit
b7fd3c8669
4 changed files with 15 additions and 0 deletions
|
@ -525,6 +525,8 @@ public:
|
|||
IWritableCraftDefManager* getWritableCraftDefManager();
|
||||
|
||||
const ModSpec* getModSpec(const std::string &modname);
|
||||
|
||||
std::string getWorldPath(){ return m_mapsavedir; }
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue