mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[8829] some more places where we call redundant SaveToDB
i also added now my assert with which i've found them.. maybe someone want's to look at other cases too :)
This commit is contained in:
parent
37ba6623bb
commit
7a2764e0fe
6 changed files with 13 additions and 8 deletions
|
|
@ -3511,7 +3511,6 @@ bool ChatHandler::HandleReviveCommand(const char* args)
|
|||
{
|
||||
target->ResurrectPlayer(0.5f);
|
||||
target->SpawnCorpseBones();
|
||||
target->SaveToDB();
|
||||
}
|
||||
else
|
||||
// will resurrected at login without corpse
|
||||
|
|
@ -6394,4 +6393,4 @@ bool ChatHandler::HandleModifyGenderCommand(const char *args)
|
|||
ChatHandler(player).PSendSysMessage(LANG_YOUR_GENDER_CHANGED, gender_full, GetNameLink().c_str());
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue