1
This commit is contained in:
parent
a534f9123b
commit
12c11fa0e5
@ -139,6 +139,7 @@ func (this *roomMgr) CMGetCurrentRoom(hdr *f5.MsgHdr, msg *cs.CMGetCurrentRoom)
|
||||
hum := hdr.Context.(common.Player)
|
||||
rspMsg := &cs.SMGetCurrentRoom{}
|
||||
if hum.GetRoom() != nil && hum.GetRoom().GetRoomState() == ROOM_INIT_STATE {
|
||||
rspMsg.Room = new(cs.MFCurrentRoom)
|
||||
hum.GetRoom().(*room).fillMFCurrentRoom(rspMsg.Room)
|
||||
hum.SendMsg(rspMsg)
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user