This commit is contained in:
hahwu 2025-01-08 11:19:31 +08:00
parent a235b772b4
commit 80e1a2b9ca

View File

@ -133,6 +133,8 @@ func ReqGmCommand(args []interface{}) error {
case "resetUserInfo":
Rank := G_GameLogicPtr.RankMgr.getRank(RANK_TYPE_USER)
for _, v := range Rank {
Idstr := strconv.Itoa(v.Uid)
db.RedisDelKey(Idstr)
G_GameLogicPtr.GetResSimplePlayerByUid(v.Uid)
}