mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
[CSM] Add enable_client_modding param (default: false)
This commit is contained in:
parent
0727bb3ddd
commit
44ca9c9cb2
9 changed files with 41 additions and 14 deletions
|
@ -572,6 +572,7 @@ public:
|
|||
}
|
||||
|
||||
ClientScripting *getScript() { return m_script; }
|
||||
const bool moddingEnabled() const { return m_modding_enabled; }
|
||||
|
||||
inline void pushToEventQueue(const ClientEvent &event)
|
||||
{
|
||||
|
@ -722,6 +723,7 @@ private:
|
|||
bool m_cache_use_tangent_vertices;
|
||||
|
||||
ClientScripting *m_script;
|
||||
bool m_modding_enabled;
|
||||
|
||||
DISABLE_CLASS_COPY(Client);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue