mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
[CSM] Add core.get_timeofday & core.get_day_count env calls (#5401)
* [CSM] Add core.get_timeofday & core.get_day_count env calls * [CSM] Add core.get_node_level, core.get_node_max_level, core.find_node_near
This commit is contained in:
parent
b52f3005c3
commit
0891975ad6
13 changed files with 67 additions and 25 deletions
|
@ -268,6 +268,7 @@ Client::Client(
|
|||
m_modding_enabled = g_settings->getBool("enable_client_modding");
|
||||
m_script = new ClientScripting(this);
|
||||
m_env.setScript(m_script);
|
||||
m_script->setEnv(&m_env);
|
||||
}
|
||||
|
||||
void Client::initMods()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue