Enha: removing memcache [WIP]

This commit is contained in:
Grail Finder
2025-07-02 09:17:11 +03:00
parent 86574bf69c
commit 95a55a8213
4 changed files with 43 additions and 21 deletions

View File

@ -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