[Bug Fix] Fixed the discrepacy with time using command #time and in quests. (#3767)

* [BUG] Fixed the discrepacy with time using command #time and in quests. https://github.com/EQEmu/Server/issues/3700

* removed comments and paratheses from previous commit.

* fixed typos.

* made some adjustment so #time, /time, scripting, and log all match.

* Update lua_general.cpp
This commit is contained in:
regneq
2023-12-16 20:40:40 -08:00
committed by GitHub
parent 9739c1c8ef
commit 7e651877c7
4 changed files with 12 additions and 19 deletions
+1 -1
View File
@@ -1526,7 +1526,7 @@ void QuestManager::CreateGuild(const char *guild_name, const char *leader) {
void QuestManager::settime(uint8 new_hour, uint8 new_min, bool update_world /*= true*/)
{
if (zone)
zone->SetTime(new_hour + 1, new_min, update_world);
zone->SetTime(new_hour, new_min, update_world);
}
void QuestManager::itemlink(int item_id) {