Fix hunter navi defualt popup

This commit is contained in:
Andrew Gutekanst
2020-03-08 19:00:45 -04:00
parent a7656189a4
commit 8e53b6cc63

View File

@@ -1961,6 +1961,7 @@ func handleMsgMhfSaveHunterNavi(s *Session, p mhfpacket.MHFPacket) {
// This is requried as the client will try to send a diff after character creation without a prior MsgMhfSaveHunterNavi packet.
if len(data) == 0 {
data = make([]byte, 0x226)
data[0] = 1 // set first byte to 1 to avoid pop up every time without save
}
// Perform diff and compress it to write back to db