增加周更新GM

This commit is contained in:
hahwu 2024-12-31 17:29:53 +08:00
parent 8312df445d
commit 9a748cd008

View File

@ -63,6 +63,11 @@ func ReqGmCommand(args []interface{}) error {
VarMod.DailyResetTime = 0
player.ZeroUpdate(nil)
G_GameLogicPtr.ZeroFlush()
case "weekUpdate":
VarMod := player.PlayMod.getVarMod()
VarMod.WeeklyResetTime = 0
player.ZeroUpdate(nil)
G_GameLogicPtr.ZeroFlush()
case "setSevenLoginActive":
num, _ := strconv.Atoi(arg[1])
player.PlayMod.getSevenLoginMod().Active = num