diff --git a/server/gameserver/hero.cc b/server/gameserver/hero.cc index 18883ba3..0ab68284 100644 --- a/server/gameserver/hero.cc +++ b/server/gameserver/hero.cc @@ -289,6 +289,7 @@ void Hero::BeKill(int killer_id, const std::string& killer_name, int weapon_id) if (room->IsPveRoom()) { --room->pve_data.mon_num; --room->pve_data.killed_num; + room->NotifyUiUpdate(); } GetTrigger()->Die(); } diff --git a/server/gameserver/incubator.cc b/server/gameserver/incubator.cc index b119d4c8..c092083c 100644 --- a/server/gameserver/incubator.cc +++ b/server/gameserver/incubator.cc @@ -287,6 +287,7 @@ void Incubator::SpawnWaveMon(int wave) A8_ABORT(); } ++room->pve_data.mon_num; + room->NotifyUiUpdate(); } }, &xtimer_attacher_.timer_list_);