mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Inventory mouse shortcut improvements (#13146)
Co-authored-by: Muhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com>
This commit is contained in:
parent
23f7aab354
commit
252c79d53a
7 changed files with 520 additions and 168 deletions
|
@ -682,7 +682,7 @@ void Client::step(float dtime)
|
|||
the local inventory (so the player notices the lag problem
|
||||
and knows something is wrong).
|
||||
*/
|
||||
if (m_inventory_from_server) {
|
||||
if (m_inventory_from_server && !inhibit_inventory_revert) {
|
||||
float interval = 10.0f;
|
||||
float count_before = std::floor(m_inventory_from_server_age / interval);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue