Explorar el Código

修复mozhu bug

mafei hace 1 año
padre
commit
e70dd039bc
Se han modificado 1 ficheros con 1 adiciones y 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