Skip to content

Commit

Permalink
Merge pull request #1348 from solaris-games/dev
Browse files Browse the repository at this point in the history
Fix accidental debug statement left in
  • Loading branch information
SpacialCircumstances authored Jan 28, 2025
2 parents bc3362a + 1ffc108 commit 6bd7241
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions server/jobs/gameTick.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@ export default (container: DependencyContainer) => {

if (game != null && container.gameTickService.canTick(game)) {
try {
if (game != null && game._id.toString() === '6796cb1df2fdca5305fd8285') {
await container.gameLockService.lock(gameId, true);
await container.gameTickService.tick(gameId);
}
await container.gameLockService.lock(gameId, true);
await container.gameTickService.tick(gameId);
}
catch (e) {
log.error(e, `Error in game ${game.settings.general.name} (${game._id})`);
Expand Down

0 comments on commit 6bd7241

Please sign in to comment.