mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-24 04:18:11 -08:00
Fix Total Cart Count showing lower value by 1
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -408,4 +408,3 @@
|
|||||||
0
|
0
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user