Fix Total Cart Count showing lower value by 1

This commit is contained in:
GreenComfyTea
2023-06-10 14:20:11 +03:00
parent e571ca62eb
commit 663b456a4f
4 changed files with 5 additions and 3 deletions

View File

@@ -260,6 +260,7 @@ end
function this.cart(dead_player_id, flag_cat_skill_insurance) function this.cart(dead_player_id, flag_cat_skill_insurance)
-- flag_cat_skill_insurance = 0 -- flag_cat_skill_insurance = 0
-- flag_cat_skill_insurance = 1 -- flag_cat_skill_insurance = 1
local player = players.list[dead_player_id]; local player = players.list[dead_player_id];
if player == nil then if player == nil then
return; return;

View File

@@ -90,6 +90,8 @@ function this.tick()
players.update_dps(false); players.update_dps(false);
players.sort_players(); players.sort_players();
quest_status.get_cart_count();
end end
end end

View File

@@ -407,4 +407,4 @@
65519, 65519,
0 0
] ]
} }

View File

@@ -407,5 +407,4 @@
65519, 65519,
0 0
] ]
} }