aboutsummaryrefslogtreecommitdiff
path: root/server/src/entity/player_portal.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-09-02 01:56:48 +0200
committermetamuffin <metamuffin@disroot.org>2024-09-02 14:18:02 +0200
commit84e2b868e87043f4e3844738f4e1c2a7bcbb96c0 (patch)
treee3c86d15d5b68c816a56b30c7c8fc99e8a01059c /server/src/entity/player_portal.rs
parentc273af0311b0676dd6bb1bcfc600474508afd125 (diff)
downloadhurrycurry-84e2b868e87043f4e3844738f4e1c2a7bcbb96c0.tar
hurrycurry-84e2b868e87043f4e3844738f4e1c2a7bcbb96c0.tar.bz2
hurrycurry-84e2b868e87043f4e3844738f4e1c2a7bcbb96c0.tar.zst
rephrase some messages in server
Diffstat (limited to 'server/src/entity/player_portal.rs')
-rw-r--r--server/src/entity/player_portal.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/entity/player_portal.rs b/server/src/entity/player_portal.rs
index 53ba9c39..c0faf767 100644
--- a/server/src/entity/player_portal.rs
+++ b/server/src/entity/player_portal.rs
@@ -37,7 +37,7 @@ impl Entity for PlayerPortal {
.game
.players
.get_mut(&pid)
- .ok_or(anyhow!("player missing"))?;
+ .ok_or(anyhow!("Player is missing"))?;
p.movement.position = self.to;
c.packet_out
.push_back(PacketC::MovementSync { player: pid });