fix(Core/Commands): remove character creation flag from .save command
This commit is contained in:
parent
3671da68ff
commit
47160f3c36
1 changed files with 3 additions and 3 deletions
|
|
@ -1093,11 +1093,11 @@ public:
|
|||
{
|
||||
if (Player* target = handler->getSelectedPlayer())
|
||||
{
|
||||
target->SaveToDB(true, false);
|
||||
target->SaveToDB(false, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
player->SaveToDB(true, false);
|
||||
player->SaveToDB(false, false);
|
||||
}
|
||||
handler->SendSysMessage(LANG_PLAYER_SAVED);
|
||||
return true;
|
||||
|
|
@ -1107,7 +1107,7 @@ public:
|
|||
uint32 saveInterval = sWorld->getIntConfig(CONFIG_INTERVAL_SAVE);
|
||||
if (saveInterval == 0 || (saveInterval > 20 * IN_MILLISECONDS && player->GetSaveTimer() <= saveInterval - 20 * IN_MILLISECONDS))
|
||||
{
|
||||
player->SaveToDB(true, false);
|
||||
player->SaveToDB(false, false);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue