Pentagon 8 years ago
parent
commit
c082ca0b8d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -460,7 +460,7 @@ module.exports = function FpsUtils(dispatch) {
 
     function enable() {
         
-        addHook('S_LOGIN', (dispatch.majorPatchVersion >= 67) ? 10 : 9, (event) => {
+        addHook('S_LOGIN', (dispatch.base.majorPatchVersion >= 67) ? 10 : 9, (event) => {
             pcid = event.gameId
             player = event.name
             clss = getClass(event.templateId)