aboutsummaryrefslogtreecommitdiff
path: root/server/src/entity/tram.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/entity/tram.rs
parent14b44bdbd5dcc5c743dfb0e0197de6c4065a2821 (diff)
downloadhurrycurry-5acdf0a7ae6fcf92d399d9023da07240e7870fef.tar
hurrycurry-5acdf0a7ae6fcf92d399d9023da07240e7870fef.tar.bz2
hurrycurry-5acdf0a7ae6fcf92d399d9023da07240e7870fef.tar.zst
custom tram spawn position
Diffstat (limited to 'server/src/entity/tram.rs')
-rw-r--r--server/src/entity/tram.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/entity/tram.rs b/server/src/entity/tram.rs
index 706c139f..d1d1effa 100644
--- a/server/src/entity/tram.rs
+++ b/server/src/entity/tram.rs
@@ -43,7 +43,7 @@ impl Entity for Tram {
character: self.character,
class: PlayerClass::Tram,
id: Some(id),
- position: None,
+ position: self.points.get(0).copied(),
});
self.ids.push(id);
}