Explorar o código

修复mozhu bug

mafei hai 1 ano
pai
achega
e70dd039bc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      script/module/mozhu/MoZhuMiddleLogic.lua

+ 1 - 1
script/module/mozhu/MoZhuMiddleLogic.lua

@@ -42,7 +42,7 @@ function onHour(hour)
         return
     end
     local mozhuData = MoZhuDB.getMoZhu()
-	if not next(mozhuData) or Util.isSameDay(mozhuData.time) then
+	if not next(mozhuData) or not Util.isSameDay(mozhuData.time) then
         MoZhuDB.initMoZhu()
         mozhuData = MoZhuDB.getMoZhu()
     end