增加周更新GM
This commit is contained in:
parent
1c63e7b700
commit
9702ad11b0
@ -63,6 +63,11 @@ func ReqGmCommand(args []interface{}) error {
|
|||||||
VarMod.DailyResetTime = 0
|
VarMod.DailyResetTime = 0
|
||||||
player.ZeroUpdate(nil)
|
player.ZeroUpdate(nil)
|
||||||
G_GameLogicPtr.ZeroFlush()
|
G_GameLogicPtr.ZeroFlush()
|
||||||
|
case "weekUpdate":
|
||||||
|
VarMod := player.PlayMod.getVarMod()
|
||||||
|
VarMod.WeeklyResetTime = 0
|
||||||
|
player.ZeroUpdate(nil)
|
||||||
|
G_GameLogicPtr.ZeroFlush()
|
||||||
case "setSevenLoginActive":
|
case "setSevenLoginActive":
|
||||||
num, _ := strconv.Atoi(arg[1])
|
num, _ := strconv.Atoi(arg[1])
|
||||||
player.PlayMod.getSevenLoginMod().Active = num
|
player.PlayMod.getSevenLoginMod().Active = num
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user