From 6bd2b637a721dde1f0445b85c2110a0da0c359f2 Mon Sep 17 00:00:00 2001 From: Matthew Date: Sun, 19 Nov 2023 13:44:11 -0500 Subject: [PATCH] refactor: Moved quest duration variables to uint8 --- server/channelserver/handlers_quest.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/channelserver/handlers_quest.go b/server/channelserver/handlers_quest.go index 7fc901cd0..76b3fbef9 100644 --- a/server/channelserver/handlers_quest.go +++ b/server/channelserver/handlers_quest.go @@ -218,8 +218,8 @@ func handleMsgMhfEnumerateQuest(s *Session, p mhfpacket.MHFPacket) { for rows.Next() { var id, mark uint32 - var questId, activeDuration, inactiveDuration int - var maxPlayers, questType uint8 + var questId int + var maxPlayers, questType, activeDuration, inactiveDuration uint8 var startTime time.Time err := rows.Scan(&id, &maxPlayers, &questType, &questId, &mark, &startTime, &activeDuration, &inactiveDuration)