1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-30 19:22:14 +00:00

Give more infos to on_timer() callback

closes #15817
This commit is contained in:
sfan5 2025-08-10 17:22:06 +02:00
parent 7c88996210
commit fd3588d49c
8 changed files with 31 additions and 21 deletions

View file

@ -312,7 +312,7 @@ public:
bool saveStaticObject(u16 id, const StaticObject &obj, u32 reason);
/// @note This method is only for Server, don't call it on client
void step(float dtime, const std::function<bool(v3s16, MapNode, f32)> &on_timer_cb);
void step(float dtime, const std::function<bool(v3s16, MapNode, NodeTimer)> &on_timer_cb);
////
//// Timestamp (see m_timestamp)