diff options
Diffstat (limited to 'src/game.ts')
| -rw-r--r-- | src/game.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game.ts b/src/game.ts index fafa0ee..6a09871 100644 --- a/src/game.ts +++ b/src/game.ts @@ -56,6 +56,7 @@ export function cpuLoop() { // const collidingEnemy = enemies.filter(e => p.collides(e)); // const collidingBullets = bullets.filter(b => p.collides(b)); // if (collidingBullets.length || collidingEnemy.length) playerDied(collidingEnemy[0]) + // playerDied({} as Enemy) setTimeout(cpuLoop, 1000 / keys.fps) } |
