diff --git a/src/game/game.js b/src/game/game.js index 579a2b49..c3836add 100644 --- a/src/game/game.js +++ b/src/game/game.js @@ -8,6 +8,7 @@ market = require('./market'), customPrototypes = require('./custom-prototypes'), system = { Function: { bind: Function.bind } }; + system.Function.bind.call = Function.prototype.call; var findCacheFn = { [C.FIND_CREEPS]: (i) => !i.spawning,