diff --git a/src/game/Chat/Level2.cpp b/src/game/Chat/Level2.cpp index 7122940193..4220cf23c4 100644 --- a/src/game/Chat/Level2.cpp +++ b/src/game/Chat/Level2.cpp @@ -2248,7 +2248,7 @@ bool ChatHandler::HandleNpcSpawnTimeCommand(char* args) uint32 u_guidlow = pCreature->GetGUIDLow(); - WorldDatabase.PExecuteLog("UPDATE creature SET spawntimesecs=%i WHERE guid=%u", stime, u_guidlow); + WorldDatabase.PExecuteLog("UPDATE creature SET spawntimesecsmin=%i, spawntimesecsmax=%i WHERE guid=%u", stime, u_guidlow); pCreature->SetRespawnDelay(stime); PSendSysMessage(LANG_COMMAND_SPAWNTIME, stime);