From 9add9112328c0741d876845d4157035d8e74498a Mon Sep 17 00:00:00 2001 From: Henry Sanger Date: Mon, 3 Apr 2023 16:43:28 -0400 Subject: [PATCH] 0.5.0 --- package.json | 2 +- src/game/bullet.ts | 4 ++-- src/server.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 08ffbb2f..19698dee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "survivreloaded", - "version": "0.4.1", + "version": "0.5.0", "description": "A community-made resurrection of the defunct online game surviv.io.", "main": "dist/server.js", "scripts": { diff --git a/src/game/bullet.ts b/src/game/bullet.ts index 85818628..3df74667 100644 --- a/src/game/bullet.ts +++ b/src/game/bullet.ts @@ -73,9 +73,9 @@ export class Bullet { this.body = game.world.createBody({ type: "dynamic", position, - fixedRotation: true + fixedRotation: true, + bullet: true }); - this.body.setBullet(true); this.body.createFixture({ shape: Circle(0), friction: 0.0, diff --git a/src/server.ts b/src/server.ts index e4f2b93e..183d34fc 100644 --- a/src/server.ts +++ b/src/server.ts @@ -222,7 +222,7 @@ process.on("SIGINT", () => { process.exit(); }); -log("Surviv Reloaded Server v0.4.1"); +log("Surviv Reloaded Server v0.5.0"); app.listen(Config.host, Config.port, () => { // noinspection HttpUrlsUsage log(`Listening on ${Config.host}:${Config.port}`);