1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-09 11:35:21 +01:00

Fix some common SAO methods to not generate useless update packets

This commit is contained in:
sfan5
2024-02-29 14:56:13 +01:00
parent 585ca90ae0
commit c524c52baa
11 changed files with 160 additions and 85 deletions

View File

@@ -103,5 +103,7 @@ private:
v3f m_last_sent_rotation;
float m_last_sent_position_timer = 0.0f;
float m_last_sent_move_precision = 0.0f;
std::string m_current_texture_modifier = "";
std::string m_texture_modifier;
bool m_texture_modifier_sent = false;
};