flyzto 2 周之前
父節點
當前提交
6f8d4df164
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      pinnacle/main.js

+ 2 - 2
pinnacle/main.js

@@ -38,8 +38,8 @@ const resetVersionsCount = () => {
 }
 
 const incrementVersionsCount = () => {
-  GLOBAL_DATA.straightFixturesCount = 0;
-  GLOBAL_DATA.specialFixturesCount = 0;
+  GLOBAL_DATA.straightFixturesCount += 1;
+  GLOBAL_DATA.specialFixturesCount += 1;
 }