diff --git a/server/hft-server.js b/server/hft-server.js index 6487ba54..fd3ebd3f 100644 --- a/server/hft-server.js +++ b/server/hft-server.js @@ -99,7 +99,7 @@ var HFTServer = function(options, startedCallback) { g[prop] = options[prop]; }); - g.gameDB = options.gameDB || new AvailableGames(); + g.gameDB = g.gameDB || new AvailableGames(); var eventEmitter = new events.EventEmitter(); var nonRequire = new NonRequire();