Skip to content

Commit

Permalink
πŸš‘ fix another potential cpu leak
Browse files Browse the repository at this point in the history
DEV-1162
  • Loading branch information
o4kapuk committed Nov 22, 2023
1 parent 9996756 commit f4c51e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/game/game.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f4c51e4

Please # to comment.