summaryrefslogtreecommitdiff
path: root/server/src/server.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-06-03 21:31:03 +0200
committermetamuffin <metamuffin@disroot.org>2025-06-03 21:31:03 +0200
commit5acdf0a7ae6fcf92d399d9023da07240e7870fef (patch)
treef9cd8894d958f911f727f2368abd0aa145634248 /server/src/server.rs
parent14b44bdbd5dcc5c743dfb0e0197de6c4065a2821 (diff)
downloadhurrycurry-5acdf0a7ae6fcf92d399d9023da07240e7870fef.tar
hurrycurry-5acdf0a7ae6fcf92d399d9023da07240e7870fef.tar.bz2
hurrycurry-5acdf0a7ae6fcf92d399d9023da07240e7870fef.tar.zst
custom tram spawn position
Diffstat (limited to 'server/src/server.rs')
-rw-r--r--server/src/server.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/server.rs b/server/src/server.rs
index 98a9826c..47611eb6 100644
--- a/server/src/server.rs
+++ b/server/src/server.rs
@@ -254,7 +254,7 @@ impl GameServerExt for Game {
let position = custom_position.unwrap_or(match class {
PlayerClass::Customer => serverdata.customer_spawn,
PlayerClass::Bot | PlayerClass::Chef => serverdata.chef_spawn,
- PlayerClass::Tram => Vec2::ZERO, // TODO should always have custom location
+ PlayerClass::Tram => Vec2::ZERO, // should always have custom location
}) + (Vec2::new(random(), random()) - 0.5);
self.players.insert(
id,