diff --git a/lib/GameDB.js b/lib/GameDB.js
index <HASH>..<HASH> 100644
--- a/lib/GameDB.js
+++ b/lib/GameDB.js
@@ -61,7 +61,7 @@
 		}
 		if (!this.state) {
 			this.h('state', function(gb) {
-				return gb.state.toHash('S.s.r');
+				return GameState.toHash(gb.state, 'S.s.r');
 			});
 		}  
 		if (!this.key) {
GameDB uses static method to hash gamestate