Rate limit saving to at most once a second

There are A LOT of unneeded saves ...

This will prevent a lot of excessive database hits at least
with very little room to exploit
This commit is contained in:
Michael Cook (mackal)
2016-08-03 01:13:51 -04:00
parent acb5bb3e3e
commit f26dce39c3
2 changed files with 10 additions and 1 deletions
+3
View File
@@ -1458,6 +1458,9 @@ private:
Timer helm_toggle_timer;
Timer light_update_timer;
time_t m_lastsave;
glm::vec3 m_Proximity;
void BulkSendInventoryItems();