This commit is contained in:
hahwu 2025-04-21 15:19:26 +08:00
parent f659a1880f
commit f95a049c90

View File

@ -90,7 +90,11 @@ func ReqGmCommand_(player *Player, Command string) error {
VarMod := player.PlayMod.getVarMod()
VarMod.DailyResetTime = 0
player.ZeroUpdate(nil)
// G_GameLogicPtr.ZeroFlush()
case "serverZeroUpdate":
VarMod := player.PlayMod.getVarMod()
VarMod.DailyResetTime = 0
player.ZeroUpdate(nil)
G_GameLogicPtr.ZeroFlush()
case "resetActivity":
ActivityMod := player.PlayMod.getActivityMod()
ActivityMod.Var = nil