This commit is contained in:
aozhiwei 2019-07-12 17:48:51 +08:00
parent c9642e72ab
commit 07fc698ea5

View File

@ -558,6 +558,10 @@ void Human::BeKill(int killer_id, const std::string& killer_name, int weapon_id)
); );
room->frame_event.AddDead(this); room->frame_event.AddDead(this);
room->OnHumanDie(this); room->OnHumanDie(this);
{
OnLeaveGrass();
RemoveBuff(HIDE_BUFF_ID);
}
SyncAroundPlayers(); SyncAroundPlayers();
} }
} }