GM命令
This commit is contained in:
parent
f659a1880f
commit
f95a049c90
@ -90,7 +90,11 @@ func ReqGmCommand_(player *Player, Command string) error {
|
|||||||
VarMod := player.PlayMod.getVarMod()
|
VarMod := player.PlayMod.getVarMod()
|
||||||
VarMod.DailyResetTime = 0
|
VarMod.DailyResetTime = 0
|
||||||
player.ZeroUpdate(nil)
|
player.ZeroUpdate(nil)
|
||||||
// G_GameLogicPtr.ZeroFlush()
|
case "serverZeroUpdate":
|
||||||
|
VarMod := player.PlayMod.getVarMod()
|
||||||
|
VarMod.DailyResetTime = 0
|
||||||
|
player.ZeroUpdate(nil)
|
||||||
|
G_GameLogicPtr.ZeroFlush()
|
||||||
case "resetActivity":
|
case "resetActivity":
|
||||||
ActivityMod := player.PlayMod.getActivityMod()
|
ActivityMod := player.PlayMod.getActivityMod()
|
||||||
ActivityMod.Var = nil
|
ActivityMod.Var = nil
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user