Răsfoiți Sursa

修复mozhu bug

mafei 1 an în urmă
părinte
comite
e70dd039bc
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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