mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Scripting WIP: Add global environment step function on_step
This commit is contained in:
parent
1320d07068
commit
73bb3bc595
4 changed files with 35 additions and 2 deletions
|
@ -1141,6 +1141,11 @@ void ServerEnvironment::step(float dtime)
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Step script environment (run global on_step())
|
||||
*/
|
||||
scriptapi_environment_step(m_lua, dtime);
|
||||
|
||||
/*
|
||||
Step active objects
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue