Enha: removing memcache [WIP]
This commit is contained in:
@ -417,7 +417,8 @@ func (rr *RoomReq) CreateRoom(creator string) *Room {
|
||||
// ====
|
||||
|
||||
type FullInfo struct {
|
||||
State *UserState
|
||||
// State *UserState
|
||||
State *Player
|
||||
Room *Room
|
||||
List []*Room
|
||||
LinkLogin string // room_id
|
||||
@ -433,7 +434,7 @@ func (f *FullInfo) ExitRoom() *Room {
|
||||
if f.Room.BlueTeam.Mime == f.State.Username {
|
||||
f.Room.BlueTeam.Mime = ""
|
||||
}
|
||||
f.State.ExitRoom()
|
||||
// f.State.ExitRoom()
|
||||
resp := f.Room
|
||||
f.Room = nil
|
||||
return resp
|
||||
|
Reference in New Issue
Block a user