Fix typo deadlock

This commit is contained in:
Andrew Gutekanst
2020-01-22 18:22:33 -05:00
parent cf3cafa929
commit a92b5b0b93

View File

@@ -257,7 +257,7 @@ func handleMsgSysCreateStage(s *Session, p mhfpacket.MHFPacket) {
s.server.stagesLock.Lock()
s.server.stages[stripNullTerminator(s.stageID)] = &Stage{}
s.server.stagesLock.Lock()
s.server.stagesLock.Unlock()
resp := make([]byte, 8) // Unk resp.
s.QueueAck(pkt.AckHandle, resp)