Browse Source

for awakening patch servers only

Owyn 8 years ago
parent
commit
a5d85807ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -51,7 +51,7 @@ module.exports = function boxOpener(dispatch){
 		}
     });
 	
-	dispatch.hook('S_LOGIN', (dispatch.base.majorPatchVersion >= 67) ? 10 : 9, event =>{cid = event.cid});
+	dispatch.hook('S_LOGIN', 10, event =>{cid = event.gameId});
 	
 	dispatch.hook('C_PLAYER_LOCATION', 2, event =>{location = event});