mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Scripting WIP: Add global environment step function on_step
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user